Struct gstreamer::sample::SampleRef

source ·
#[repr(transparent)]
pub struct SampleRef(_);

Implementations§

Available on crate feature v1_16 only.
Available on crate feature v1_16 only.
Available on crate feature v1_16 only.
Available on crate feature v1_16 only.
Available on crate feature v1_16 only.

Trait Implementations§

Converts this type into a shared reference of the (usually inferred) input type.
Immutably borrows from an owned value. Read more
Formats the value using the given formatter. Read more
Value type checker.
Get the contained value from a Value. Read more
Serialize this value into the given Serde serializer. Read more
Returns the type identifier of Self.
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Ensures that the type has been registered with the type system.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.