Struct gstreamer_sys::GstAllocatorClass
source · #[repr(C)]pub struct GstAllocatorClass {
pub object_class: GstObjectClass,
pub alloc: Option<unsafe extern "C" fn(_: *mut GstAllocator, _: size_t, _: *mut GstAllocationParams) -> *mut GstMemory>,
pub free: Option<unsafe extern "C" fn(_: *mut GstAllocator, _: *mut GstMemory)>,
pub _gst_reserved: [gpointer; 4],
}
Fields§
§object_class: GstObjectClass
§alloc: Option<unsafe extern "C" fn(_: *mut GstAllocator, _: size_t, _: *mut GstAllocationParams) -> *mut GstMemory>
§free: Option<unsafe extern "C" fn(_: *mut GstAllocator, _: *mut GstMemory)>
§_gst_reserved: [gpointer; 4]
Trait Implementations§
source§impl Clone for GstAllocatorClass
impl Clone for GstAllocatorClass
source§fn clone(&self) -> GstAllocatorClass
fn clone(&self) -> GstAllocatorClass
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more