Struct gstreamer_base_sys::GstBaseParseClass
source · #[repr(C)]pub struct GstBaseParseClass {Show 14 fields
pub parent_class: GstElementClass,
pub start: Option<unsafe extern "C" fn(_: *mut GstBaseParse) -> gboolean>,
pub stop: Option<unsafe extern "C" fn(_: *mut GstBaseParse) -> gboolean>,
pub set_sink_caps: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstCaps) -> gboolean>,
pub handle_frame: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstBaseParseFrame, _: *mut c_int) -> GstFlowReturn>,
pub pre_push_frame: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstBaseParseFrame) -> GstFlowReturn>,
pub convert: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: GstFormat, _: i64, _: GstFormat, _: *mut i64) -> gboolean>,
pub sink_event: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstEvent) -> gboolean>,
pub src_event: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstEvent) -> gboolean>,
pub get_sink_caps: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstCaps) -> *mut GstCaps>,
pub detect: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstBuffer) -> GstFlowReturn>,
pub sink_query: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstQuery) -> gboolean>,
pub src_query: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstQuery) -> gboolean>,
pub _gst_reserved: [gpointer; 18],
}
Fields§
§parent_class: GstElementClass
§start: Option<unsafe extern "C" fn(_: *mut GstBaseParse) -> gboolean>
§stop: Option<unsafe extern "C" fn(_: *mut GstBaseParse) -> gboolean>
§set_sink_caps: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstCaps) -> gboolean>
§handle_frame: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstBaseParseFrame, _: *mut c_int) -> GstFlowReturn>
§pre_push_frame: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstBaseParseFrame) -> GstFlowReturn>
§convert: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: GstFormat, _: i64, _: GstFormat, _: *mut i64) -> gboolean>
§sink_event: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstEvent) -> gboolean>
§src_event: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstEvent) -> gboolean>
§get_sink_caps: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstCaps) -> *mut GstCaps>
§detect: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstBuffer) -> GstFlowReturn>
§sink_query: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstQuery) -> gboolean>
§src_query: Option<unsafe extern "C" fn(_: *mut GstBaseParse, _: *mut GstQuery) -> gboolean>
§_gst_reserved: [gpointer; 18]
Trait Implementations§
source§impl Clone for GstBaseParseClass
impl Clone for GstBaseParseClass
source§fn clone(&self) -> GstBaseParseClass
fn clone(&self) -> GstBaseParseClass
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 GstBaseParseClass
impl Debug for GstBaseParseClass
impl Copy for GstBaseParseClass
Auto Trait Implementations§
impl Freeze for GstBaseParseClass
impl RefUnwindSafe for GstBaseParseClass
impl !Send for GstBaseParseClass
impl !Sync for GstBaseParseClass
impl Unpin for GstBaseParseClass
impl UnwindSafe for GstBaseParseClass
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
)