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 moresource§impl Debug for GstAllocatorClass
impl Debug for GstAllocatorClass
impl Copy for GstAllocatorClass
Auto Trait Implementations§
impl Freeze for GstAllocatorClass
impl RefUnwindSafe for GstAllocatorClass
impl !Send for GstAllocatorClass
impl !Sync for GstAllocatorClass
impl Unpin for GstAllocatorClass
impl UnwindSafe for GstAllocatorClass
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)