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§
source§impl Clone for GstAppSinkClass
impl Clone for GstAppSinkClass
source§fn clone(&self) -> GstAppSinkClass
fn clone(&self) -> GstAppSinkClass
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 GstAppSinkClass
impl Debug for GstAppSinkClass
impl Copy for GstAppSinkClass
Auto Trait Implementations§
impl Freeze for GstAppSinkClass
impl RefUnwindSafe for GstAppSinkClass
impl !Send for GstAppSinkClass
impl !Sync for GstAppSinkClass
impl Unpin for GstAppSinkClass
impl UnwindSafe for GstAppSinkClass
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)