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
sourceimpl Clone for GstAppSinkCallbacks
impl Clone for GstAppSinkCallbacks
sourcefn clone(&self) -> GstAppSinkCallbacks
fn clone(&self) -> GstAppSinkCallbacks
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GstAppSinkCallbacks
impl Debug for GstAppSinkCallbacks
impl Copy for GstAppSinkCallbacks
Auto Trait Implementations
impl RefUnwindSafe for GstAppSinkCallbacks
impl !Send for GstAppSinkCallbacks
impl !Sync for GstAppSinkCallbacks
impl Unpin for GstAppSinkCallbacks
impl UnwindSafe for GstAppSinkCallbacks
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more