Struct gstreamer_gl::GLBaseMemory [−][src]
pub struct GLBaseMemory { /* fields omitted */ }
Implementations
Methods from Deref<Target = GLBaseMemoryRef>
pub unsafe fn memcpy(
&self,
dest: &mut GLBaseMemory,
offset: isize,
size: isize
) -> Result<(), LoggableError>
[src]Methods from Deref<Target = MemoryRef>
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. Read more
type Target = GLBaseMemoryRef
type Target = GLBaseMemoryRef
The resulting type after dereferencing.
unsafe fn from_glib_none_num_as_vec(
ptr: *const *mut GstGLBaseMemory,
num: usize
) -> Vec<Self>
[src]unsafe fn from_glib_container_num_as_vec(
_: *const *mut GstGLBaseMemory,
_: usize
) -> Vec<Self>
[src]unsafe fn from_glib_container_num_as_vec(
ptr: *mut *mut GstGLBaseMemory,
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 GstGLBaseMemory
Returns the type identifier of Self
.
type Storage = (Vec<Stash<'a, *mut GstGLBaseMemory, GLBaseMemory>>, Option<Vec<*mut GstGLBaseMemory>>)
fn to_glib_none_from_slice(
t: &'a [GLBaseMemory]
) -> (*const *mut GstGLBaseMemory, Self::Storage)
[src]fn to_glib_container_from_slice(
_: &'a [GLBaseMemory]
) -> (*const *mut GstGLBaseMemory, Self::Storage)
[src]fn to_glib_none_from_slice(
t: &'a [GLBaseMemory]
) -> (*mut *mut GstGLBaseMemory, Self::Storage)
[src]fn to_glib_container_from_slice(
t: &'a [GLBaseMemory]
) -> (*mut *mut GstGLBaseMemory, 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]