Struct gstreamer_app_sys::GstAppSrcClass
source · #[repr(C)]pub struct GstAppSrcClass {
pub basesrc_class: GstBaseSrcClass,
pub need_data: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: c_uint)>,
pub enough_data: Option<unsafe extern "C" fn(_: *mut GstAppSrc)>,
pub seek_data: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: u64) -> gboolean>,
pub push_buffer: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: *mut GstBuffer) -> GstFlowReturn>,
pub end_of_stream: Option<unsafe extern "C" fn(_: *mut GstAppSrc) -> GstFlowReturn>,
pub push_sample: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: *mut GstSample) -> GstFlowReturn>,
pub push_buffer_list: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: *mut GstBufferList) -> GstFlowReturn>,
pub _gst_reserved: [gpointer; 2],
}
Fields§
§basesrc_class: GstBaseSrcClass
§need_data: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: c_uint)>
§enough_data: Option<unsafe extern "C" fn(_: *mut GstAppSrc)>
§seek_data: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: u64) -> gboolean>
§push_buffer: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: *mut GstBuffer) -> GstFlowReturn>
§end_of_stream: Option<unsafe extern "C" fn(_: *mut GstAppSrc) -> GstFlowReturn>
§push_sample: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: *mut GstSample) -> GstFlowReturn>
§push_buffer_list: Option<unsafe extern "C" fn(_: *mut GstAppSrc, _: *mut GstBufferList) -> GstFlowReturn>
§_gst_reserved: [gpointer; 2]
Trait Implementations§
source§impl Clone for GstAppSrcClass
impl Clone for GstAppSrcClass
source§fn clone(&self) -> GstAppSrcClass
fn clone(&self) -> GstAppSrcClass
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 GstAppSrcClass
impl Debug for GstAppSrcClass
impl Copy for GstAppSrcClass
Auto Trait Implementations§
impl Freeze for GstAppSrcClass
impl RefUnwindSafe for GstAppSrcClass
impl !Send for GstAppSrcClass
impl !Sync for GstAppSrcClass
impl Unpin for GstAppSrcClass
impl UnwindSafe for GstAppSrcClass
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
)