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
sourceimpl Clone for GstAllocatorClass
impl Clone for GstAllocatorClass
sourcefn clone(&self) -> GstAllocatorClass
fn clone(&self) -> GstAllocatorClass
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 GstAllocatorClass
impl Debug for GstAllocatorClass
impl Copy for GstAllocatorClass
Auto Trait Implementations
impl RefUnwindSafe for GstAllocatorClass
impl !Send for GstAllocatorClass
impl !Sync for GstAllocatorClass
impl Unpin for GstAllocatorClass
impl UnwindSafe for GstAllocatorClass
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