[][src]Struct gstreamer::ClockId

pub struct ClockId(_);

Implementations

impl ClockId[src]

pub fn get_time(&self) -> ClockTime[src]

pub fn unschedule(&self)[src]

pub fn wait(&self) -> (Result<ClockSuccess, ClockError>, ClockTimeDiff)[src]

pub fn wait_async<F>(&self, func: F) -> Result<ClockSuccess, ClockError> where
    F: Fn(&Clock, ClockTime, &ClockId) + Send + 'static, 
[src]

pub fn wait_async_stream(
    &self
) -> Result<Pin<Box<dyn Stream<Item = (ClockTime, ClockId)> + Unpin + Send + 'static>>, ClockError>
[src]

pub fn compare_by_time(&self, other: &Self) -> Ordering[src]

pub fn get_clock(&self) -> Option<Clock>[src]

pub fn uses_clock<P: IsA<Clock>>(&self, clock: &P) -> bool[src]

pub fn get_type(&self) -> ClockEntryType[src]

pub fn get_interval(&self) -> Option<ClockTime>[src]

pub fn get_status(&self) -> &AtomicClockReturn[src]

Trait Implementations

impl Clone for ClockId[src]

impl Debug for ClockId[src]

impl Eq for ClockId[src]

impl Hash for ClockId[src]

impl Ord for ClockId[src]

impl PartialEq<ClockId> for ClockId[src]

impl PartialOrd<ClockId> for ClockId[src]

impl Send for ClockId[src]

impl StructuralEq for ClockId[src]

impl StructuralPartialEq for ClockId[src]

impl Sync for ClockId[src]

Auto Trait Implementations

impl RefUnwindSafe for ClockId

impl Unpin for ClockId

impl UnwindSafe for ClockId

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.