Struct gstreamer::PeriodicClockId [−][src]
pub struct PeriodicClockId(_);
Implementations
impl PeriodicClockId[src]
impl PeriodicClockId[src]pub fn interval(&self) -> ClockTime[src]
pub fn compare_by_time(&self, other: &Self) -> Ordering[src]
pub fn wait_async<F>(&self, func: F) -> Result<ClockSuccess, ClockError> where
F: Fn(&Clock, ClockTime, &ClockId) + Send + 'static, [src]
F: Fn(&Clock, ClockTime, &ClockId) + Send + 'static,
pub fn wait_async_stream(
&self
) -> Result<Pin<Box<dyn Stream<Item = (ClockTime, ClockId)> + Unpin + Send + 'static>>, ClockError>[src]
&self
) -> Result<Pin<Box<dyn Stream<Item = (ClockTime, ClockId)> + Unpin + Send + 'static>>, ClockError>
Methods from Deref<Target = ClockId>
pub fn time(&self) -> ClockTime[src]
pub fn unschedule(&self)[src]
pub fn wait(&self) -> (Result<ClockSuccess, ClockError>, ClockTimeDiff)[src]
pub fn compare_by_time(&self, other: &Self) -> Ordering[src]
pub fn clock(&self) -> Option<Clock>[src]
This is supported on crate feature
v1_16 only.pub fn uses_clock<P: IsA<Clock>>(&self, clock: &P) -> bool[src]
This is supported on crate feature
v1_16 only.pub fn type_(&self) -> ClockEntryType[src]
pub fn status(&self) -> &AtomicClockReturn[src]
Trait Implementations
impl Debug for PeriodicClockId[src]
impl Debug for PeriodicClockId[src]impl Deref for PeriodicClockId[src]
impl Deref for PeriodicClockId[src]impl From<PeriodicClockId> for ClockId[src]
impl From<PeriodicClockId> for ClockId[src]fn from(id: PeriodicClockId) -> ClockId[src]
fn from(id: PeriodicClockId) -> ClockId[src]Performs the conversion.
impl Hash for PeriodicClockId[src]
impl Hash for PeriodicClockId[src]impl Ord for PeriodicClockId[src]
impl Ord for PeriodicClockId[src]impl PartialEq<PeriodicClockId> for PeriodicClockId[src]
impl PartialEq<PeriodicClockId> for PeriodicClockId[src]fn eq(&self, other: &PeriodicClockId) -> bool[src]
fn eq(&self, other: &PeriodicClockId) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &PeriodicClockId) -> bool[src]
fn ne(&self, other: &PeriodicClockId) -> bool[src]This method tests for !=.
impl PartialOrd<PeriodicClockId> for PeriodicClockId[src]
impl PartialOrd<PeriodicClockId> for PeriodicClockId[src]fn partial_cmp(&self, other: &PeriodicClockId) -> Option<Ordering>[src]
fn partial_cmp(&self, other: &PeriodicClockId) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl TryFrom<ClockId> for PeriodicClockId[src]
impl TryFrom<ClockId> for PeriodicClockId[src]