[][src]Enum gstreamer::ClockReturn

pub enum ClockReturn {
    // some variants omitted

The return value of a clock operation.




impl ClockReturn[src]

pub fn into_result(self) -> Result<ClockSuccess, ClockError>[src]

pub fn from_error(v: ClockError) -> Self[src]

pub fn from_ok(v: ClockSuccess) -> Self[src]

Trait Implementations

impl Copy for ClockReturn[src]

impl From<ClockSuccess> for ClockReturn[src]

impl From<ClockError> for ClockReturn[src]

impl From<Result<ClockSuccess, ClockError>> for ClockReturn[src]

impl Clone for ClockReturn[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for ClockReturn[src]

impl Ord for ClockReturn[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl PartialEq<ClockReturn> for ClockReturn[src]

impl PartialOrd<ClockReturn> for ClockReturn[src]

impl Debug for ClockReturn[src]

impl Hash for ClockReturn[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher

Feeds a slice of this type into the given [Hasher]. Read more

impl StaticType for ClockReturn[src]

impl<'a> FromValue<'a> for ClockReturn[src]

impl SetValue for ClockReturn[src]

impl<'a> FromValueOptional<'a> for ClockReturn[src]

Auto Trait Implementations

impl Send for ClockReturn

impl Sync for ClockReturn

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

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

impl<T> ToValue for T where
    T: SetValue + ?Sized

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized