Struct gstreamer_app_sys::GstAppSinkClass
source · #[repr(C)]pub struct GstAppSinkClass {
pub basesink_class: GstBaseSinkClass,
pub eos: Option<unsafe extern "C" fn(_: *mut GstAppSink)>,
pub new_preroll: Option<unsafe extern "C" fn(_: *mut GstAppSink) -> GstFlowReturn>,
pub new_sample: Option<unsafe extern "C" fn(_: *mut GstAppSink) -> GstFlowReturn>,
pub pull_preroll: Option<unsafe extern "C" fn(_: *mut GstAppSink) -> *mut GstSample>,
pub pull_sample: Option<unsafe extern "C" fn(_: *mut GstAppSink) -> *mut GstSample>,
pub try_pull_preroll: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: GstClockTime) -> *mut GstSample>,
pub try_pull_sample: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: GstClockTime) -> *mut GstSample>,
pub try_pull_object: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: GstClockTime) -> *mut GstMiniObject>,
pub _gst_reserved: [gpointer; 1],
}
Fields
basesink_class: GstBaseSinkClass
eos: Option<unsafe extern "C" fn(_: *mut GstAppSink)>
new_preroll: Option<unsafe extern "C" fn(_: *mut GstAppSink) -> GstFlowReturn>
new_sample: Option<unsafe extern "C" fn(_: *mut GstAppSink) -> GstFlowReturn>
pull_preroll: Option<unsafe extern "C" fn(_: *mut GstAppSink) -> *mut GstSample>
pull_sample: Option<unsafe extern "C" fn(_: *mut GstAppSink) -> *mut GstSample>
try_pull_preroll: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: GstClockTime) -> *mut GstSample>
try_pull_sample: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: GstClockTime) -> *mut GstSample>
try_pull_object: Option<unsafe extern "C" fn(_: *mut GstAppSink, _: GstClockTime) -> *mut GstMiniObject>
_gst_reserved: [gpointer; 1]
Trait Implementations
sourceimpl Clone for GstAppSinkClass
impl Clone for GstAppSinkClass
sourcefn clone(&self) -> GstAppSinkClass
fn clone(&self) -> GstAppSinkClass
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 GstAppSinkClass
impl Debug for GstAppSinkClass
impl Copy for GstAppSinkClass
Auto Trait Implementations
impl RefUnwindSafe for GstAppSinkClass
impl !Send for GstAppSinkClass
impl !Sync for GstAppSinkClass
impl Unpin for GstAppSinkClass
impl UnwindSafe for GstAppSinkClass
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