Struct gstreamer_sys::GstAllocator[][src]

#[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_share: GstMemoryShareFunctionmem_is_span: GstMemoryIsSpanFunctionmem_map_full: GstMemoryMapFullFunctionmem_unmap_full: GstMemoryUnmapFullFunction_gst_reserved: [gpointer; 2]priv_: *mut GstAllocatorPrivate

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.