Struct gstreamer_sys::GstBufferPoolClass[][src]

#[repr(C)]
pub struct GstBufferPoolClass {
Show fields pub object_class: GstObjectClass, pub get_options: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> *mut *const c_char>, pub set_config: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstStructure) -> gboolean>, pub start: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>, pub stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>, pub acquire_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>, pub alloc_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>, pub reset_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>, pub release_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>, pub free_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>, pub flush_start: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>, pub flush_stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>, pub _gst_reserved: [gpointer; 2],
}

Fields

object_class: GstObjectClassget_options: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> *mut *const c_char>set_config: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstStructure) -> gboolean>start: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>acquire_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>alloc_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>reset_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>release_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>free_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>flush_start: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>flush_stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>_gst_reserved: [gpointer; 2]

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.