Struct gstreamer::memory::Memory [−][src]
pub struct Memory { /* fields omitted */ }Implementations
Fill info with the pointer and sizes of the memory in self that can be
accessed according to flags.
This function can return false for various reasons:
- the memory backed by
selfis not accessible with the givenflags. - the memory was already mapped with a different mapping.
info and its contents remain valid for as long as self is valid and
until gst_memory_unmap() is called.
For each into_mapped_memory_readable() call, a corresponding gst_memory_unmap() call
should be done.
flags
mapping flags
Returns
true if the map operation was successful.
info
pointer for info
Methods from Deref<Target = MemoryRef>
Trait Implementations
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
Returns the type identifier of Self.
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]