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 propose_allocation: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: *mut GstQuery, _: gpointer) -> gboolean>,
pub _gst_reserved: [gpointer; 2],
}
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>
§propose_allocation: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: *mut GstQuery, _: gpointer) -> gboolean>
§_gst_reserved: [gpointer; 2]
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 moresource§impl Debug for GstAppSinkCallbacks
impl Debug for GstAppSinkCallbacks
impl Copy for GstAppSinkCallbacks
Auto Trait Implementations§
impl Freeze for GstAppSinkCallbacks
impl RefUnwindSafe for GstAppSinkCallbacks
impl !Send for GstAppSinkCallbacks
impl !Sync for GstAppSinkCallbacks
impl Unpin for GstAppSinkCallbacks
impl UnwindSafe for GstAppSinkCallbacks
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)