Struct gstreamer_base_sys::GstPushSrcClass
source · #[repr(C)]pub struct GstPushSrcClass {
pub parent_class: GstBaseSrcClass,
pub create: Option<unsafe extern "C" fn(_: *mut GstPushSrc, _: *mut GstBuffer) -> GstFlowReturn>,
pub alloc: Option<unsafe extern "C" fn(_: *mut GstPushSrc, _: *mut GstBuffer) -> GstFlowReturn>,
pub fill: Option<unsafe extern "C" fn(_: *mut GstPushSrc, _: *mut GstBuffer) -> GstFlowReturn>,
pub _gst_reserved: [gpointer; 4],
}
Fields§
§parent_class: GstBaseSrcClass
§create: Option<unsafe extern "C" fn(_: *mut GstPushSrc, _: *mut GstBuffer) -> GstFlowReturn>
§alloc: Option<unsafe extern "C" fn(_: *mut GstPushSrc, _: *mut GstBuffer) -> GstFlowReturn>
§fill: Option<unsafe extern "C" fn(_: *mut GstPushSrc, _: *mut GstBuffer) -> GstFlowReturn>
§_gst_reserved: [gpointer; 4]
Trait Implementations§
source§impl Clone for GstPushSrcClass
impl Clone for GstPushSrcClass
source§fn clone(&self) -> GstPushSrcClass
fn clone(&self) -> GstPushSrcClass
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 GstPushSrcClass
impl Debug for GstPushSrcClass
impl Copy for GstPushSrcClass
Auto Trait Implementations§
impl Freeze for GstPushSrcClass
impl RefUnwindSafe for GstPushSrcClass
impl !Send for GstPushSrcClass
impl !Sync for GstPushSrcClass
impl Unpin for GstPushSrcClass
impl UnwindSafe for GstPushSrcClass
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
)