Struct gstreamer::ClockId [−]
pub struct ClockId(_);
Methods
impl ClockId
[src]
impl ClockId
pub fn get_time(&self) -> ClockTime
[src]
pub fn get_time(&self) -> ClockTime
pub fn unschedule(&self)
[src]
pub fn unschedule(&self)
pub fn wait(&self) -> (ClockReturn, ClockTimeDiff)
[src]
pub fn wait(&self) -> (ClockReturn, ClockTimeDiff)
pub fn wait_async<F>(&self, func: F) -> ClockReturn where
F: Fn(&Clock, ClockTime, &ClockId) -> bool + Send + 'static,
[src]
pub fn wait_async<F>(&self, func: F) -> ClockReturn where
F: Fn(&Clock, ClockTime, &ClockId) -> bool + Send + 'static,
Trait Implementations
impl Clone for ClockId
impl Clone for ClockId
fn clone(&self) -> ClockId
fn clone(&self) -> ClockId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialOrd for ClockId
[src]
impl PartialOrd for ClockId
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for ClockId
[src]
impl Ord for ClockId
fn cmp(&self, other: &Self) -> Ordering
[src]
fn cmp(&self, other: &Self) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialEq for ClockId
[src]
impl PartialEq for ClockId
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for ClockId
[src]
impl Eq for ClockId
impl Send for ClockId
[src]
impl Send for ClockId
impl Sync for ClockId
[src]
impl Sync for ClockId