#[repr(C)]
pub struct GstBaseSinkClass {
Show 20 fields pub parent_class: GstElementClass, pub get_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> *mut GstCaps>, pub set_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> gboolean>, pub fixate: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> *mut GstCaps>, pub activate_pull: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: gboolean) -> gboolean>, pub get_times: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer, _: *mut GstClockTime, _: *mut GstClockTime)>, pub propose_allocation: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstQuery) -> gboolean>, pub start: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>, pub stop: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>, pub unlock: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>, pub unlock_stop: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>, pub query: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstQuery) -> gboolean>, pub event: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstEvent) -> gboolean>, pub wait_event: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstEvent) -> GstFlowReturn>, pub prepare: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>, pub prepare_list: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBufferList) -> GstFlowReturn>, pub preroll: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>, pub render: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>, pub render_list: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBufferList) -> GstFlowReturn>, pub _gst_reserved: [gpointer; 20],
}

Fields

parent_class: GstElementClassget_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> *mut GstCaps>set_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> gboolean>fixate: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstCaps) -> *mut GstCaps>activate_pull: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: gboolean) -> gboolean>get_times: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer, _: *mut GstClockTime, _: *mut GstClockTime)>propose_allocation: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstQuery) -> gboolean>start: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>stop: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>unlock: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>unlock_stop: Option<unsafe extern "C" fn(_: *mut GstBaseSink) -> gboolean>query: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstQuery) -> gboolean>event: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstEvent) -> gboolean>wait_event: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstEvent) -> GstFlowReturn>prepare: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>prepare_list: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBufferList) -> GstFlowReturn>preroll: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>render: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBuffer) -> GstFlowReturn>render_list: Option<unsafe extern "C" fn(_: *mut GstBaseSink, _: *mut GstBufferList) -> GstFlowReturn>_gst_reserved: [gpointer; 20]

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)

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.