[][src]Struct gstreamer_base_sys::GstBaseSrcClass

#[repr(C)]
pub struct GstBaseSrcClass {
    pub parent_class: GstElementClass,
    pub get_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> *mut GstCaps>,
    pub negotiate: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
    pub fixate: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> *mut GstCaps>,
    pub set_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> gboolean>,
    pub decide_allocation: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstQuery) -> gboolean>,
    pub start: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
    pub stop: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
    pub get_times: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstBuffer, _: *mut GstClockTime, _: *mut GstClockTime)>,
    pub get_size: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut u64) -> gboolean>,
    pub is_seekable: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
    pub prepare_seek_segment: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstEvent, _: *mut GstSegment) -> gboolean>,
    pub do_seek: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstSegment) -> gboolean>,
    pub unlock: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
    pub unlock_stop: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>,
    pub query: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstQuery) -> gboolean>,
    pub event: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstEvent) -> gboolean>,
    pub create: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>,
    pub alloc: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>,
    pub fill: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>,
    pub _gst_reserved: [gpointer; 20],
}

Fields

parent_class: GstElementClassget_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> *mut GstCaps>negotiate: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>fixate: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> *mut GstCaps>set_caps: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstCaps) -> gboolean>decide_allocation: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstQuery) -> gboolean>start: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>stop: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>get_times: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstBuffer, _: *mut GstClockTime, _: *mut GstClockTime)>get_size: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut u64) -> gboolean>is_seekable: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>prepare_seek_segment: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstEvent, _: *mut GstSegment) -> gboolean>do_seek: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstSegment) -> gboolean>unlock: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>unlock_stop: Option<unsafe extern "C" fn(_: *mut GstBaseSrc) -> gboolean>query: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstQuery) -> gboolean>event: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: *mut GstEvent) -> gboolean>create: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>alloc: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>fill: Option<unsafe extern "C" fn(_: *mut GstBaseSrc, _: u64, _: c_uint, _: *mut GstBuffer) -> GstFlowReturn>_gst_reserved: [gpointer; 20]

Trait Implementations

impl Clone for GstBaseSrcClass[src]

impl Copy for GstBaseSrcClass[src]

impl Debug for GstBaseSrcClass[src]

Auto Trait Implementations

impl RefUnwindSafe for GstBaseSrcClass

impl !Send for GstBaseSrcClass

impl !Sync for GstBaseSrcClass

impl Unpin for GstBaseSrcClass

impl UnwindSafe for GstBaseSrcClass

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.