Struct gstreamer_sys::GstAllocator
source · #[repr(C)]pub struct GstAllocator {
pub object: GstObject,
pub mem_type: *const c_char,
pub mem_map: GstMemoryMapFunction,
pub mem_unmap: GstMemoryUnmapFunction,
pub mem_copy: GstMemoryCopyFunction,
pub mem_share: GstMemoryShareFunction,
pub mem_is_span: GstMemoryIsSpanFunction,
pub mem_map_full: GstMemoryMapFullFunction,
pub mem_unmap_full: GstMemoryUnmapFullFunction,
pub _gst_reserved: [gpointer; 2],
pub priv_: *mut GstAllocatorPrivate,
}Fields
object: GstObjectmem_type: *const c_charmem_map: GstMemoryMapFunctionmem_unmap: GstMemoryUnmapFunctionmem_copy: GstMemoryCopyFunctionmem_is_span: GstMemoryIsSpanFunctionmem_map_full: GstMemoryMapFullFunctionmem_unmap_full: GstMemoryUnmapFullFunction_gst_reserved: [gpointer; 2]priv_: *mut GstAllocatorPrivateTrait Implementations
sourceimpl Clone for GstAllocator
impl Clone for GstAllocator
sourcefn clone(&self) -> GstAllocator
fn clone(&self) -> GstAllocator
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GstAllocator
impl Debug for GstAllocator
impl Copy for GstAllocator
Auto Trait Implementations
impl RefUnwindSafe for GstAllocator
impl !Send for GstAllocator
impl !Sync for GstAllocator
impl Unpin for GstAllocator
impl UnwindSafe for GstAllocator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more