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: GstObject
§mem_type: *const c_char
§mem_map: GstMemoryMapFunction
§mem_unmap: GstMemoryUnmapFunction
§mem_copy: GstMemoryCopyFunction
§mem_is_span: GstMemoryIsSpanFunction
§mem_map_full: GstMemoryMapFullFunction
§mem_unmap_full: GstMemoryUnmapFullFunction
§_gst_reserved: [gpointer; 2]
§priv_: *mut GstAllocatorPrivate
Trait Implementations§
source§impl Clone for GstAllocator
impl Clone for GstAllocator
source§fn clone(&self) -> GstAllocator
fn clone(&self) -> GstAllocator
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 GstAllocator
impl Debug for GstAllocator
impl Copy for GstAllocator
Auto Trait Implementations§
impl Freeze for GstAllocator
impl RefUnwindSafe for GstAllocator
impl !Send for GstAllocator
impl !Sync for GstAllocator
impl Unpin for GstAllocator
impl UnwindSafe for GstAllocator
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
)