Struct gstreamer::bufferlist::BufferList [−][src]
pub struct BufferList { /* fields omitted */ }
Implementations
Creates a new, empty BufferList
. The list will have size
space
preallocated so that memory reallocations can be avoided.
size
an initial reserved size
Returns
the new BufferList
.
Methods from Deref<Target = BufferListRef>
This is supported on crate feature
v1_14
only.Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = BufferListRef
type Target = BufferListRef
The resulting type after dereferencing.
Deserialize this value from the given Serde deserializer. Read more
unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstBufferList,
num: usize
) -> Vec<Self>
[src]Safety Read more
Safety Read more
Safety Read more
Safety Read more
Safety Read more
Safety Read more
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
Get the contained value from a Value
. Read more
type GlibType = *mut GstBufferList
Returns the type identifier of Self
.
type Storage = (Vec<Stash<'a, *mut GstBufferList, BufferList>>, Option<Vec<*mut GstBufferList>>)
fn to_glib_container_from_slice(
_: &'a [BufferList]
) -> (*const *mut GstBufferList, Self::Storage)
[src]fn to_glib_container_from_slice(
t: &'a [BufferList]
) -> (*mut *mut GstBufferList, Self::Storage)
[src]Transfer: none. Read more
Convert an Option
to a Value
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Returns a SendValue
clone of self
.
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,
[src]