Struct gstreamer_app_sys::GstAppSinkCallbacks
source · #[repr(C)]pub struct GstAppSinkCallbacks {
pub eos: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: gpointer)>,
pub new_preroll: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: gpointer) -> GstFlowReturn>,
pub new_sample: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: gpointer) -> GstFlowReturn>,
pub new_event: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: gpointer) -> gboolean>,
pub _gst_reserved: [gpointer; 3],
}Fields§
§eos: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: gpointer)>§new_preroll: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: gpointer) -> GstFlowReturn>§new_sample: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: gpointer) -> GstFlowReturn>§new_event: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: gpointer) -> gboolean>§_gst_reserved: [gpointer; 3]Trait Implementations§
source§impl Clone for GstAppSinkCallbacks
impl Clone for GstAppSinkCallbacks
source§fn clone(&self) -> GstAppSinkCallbacks
fn clone(&self) -> GstAppSinkCallbacks
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 more