Struct gstreamer_gl::GLBaseMemoryRef
source · [−]#[repr(transparent)]pub struct GLBaseMemoryRef(_);
Implementations
pub unsafe fn memcpy(
&self,
dest: &mut GLBaseMemory,
offset: isize,
size: isize
) -> Result<(), LoggableError>
pub fn alloc<P: IsA<GLBaseMemoryAllocator>>(
allocator: &P,
params: &GLAllocationParams
) -> Option<GLBaseMemory>
Methods from Deref<Target = MemoryRef>
Trait Implementations
Performs the conversion.
Immutably borrows from an owned value. 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 Owned = GLBaseMemory
type Owned = GLBaseMemory
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more