Struct gstreamer_sys::GstBufferPoolClass
source · #[repr(C)]pub struct GstBufferPoolClass {Show 13 fields
pub object_class: GstObjectClass,
pub get_options: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> *mut *const c_char>,
pub set_config: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstStructure) -> gboolean>,
pub start: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>,
pub stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>,
pub acquire_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>,
pub alloc_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>,
pub reset_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>,
pub release_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>,
pub free_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>,
pub flush_start: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>,
pub flush_stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>,
pub _gst_reserved: [gpointer; 2],
}
Fields§
§object_class: GstObjectClass
§get_options: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> *mut *const c_char>
§set_config: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstStructure) -> gboolean>
§start: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>
§stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool) -> gboolean>
§acquire_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>
§alloc_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut *mut GstBuffer, _: *mut GstBufferPoolAcquireParams) -> GstFlowReturn>
§reset_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>
§release_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>
§free_buffer: Option<unsafe extern "C" fn(_: *mut GstBufferPool, _: *mut GstBuffer)>
§flush_start: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>
§flush_stop: Option<unsafe extern "C" fn(_: *mut GstBufferPool)>
§_gst_reserved: [gpointer; 2]
Trait Implementations§
source§impl Clone for GstBufferPoolClass
impl Clone for GstBufferPoolClass
source§fn clone(&self) -> GstBufferPoolClass
fn clone(&self) -> GstBufferPoolClass
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 GstBufferPoolClass
impl Debug for GstBufferPoolClass
impl Copy for GstBufferPoolClass
Auto Trait Implementations§
impl Freeze for GstBufferPoolClass
impl RefUnwindSafe for GstBufferPoolClass
impl !Send for GstBufferPoolClass
impl !Sync for GstBufferPoolClass
impl Unpin for GstBufferPoolClass
impl UnwindSafe for GstBufferPoolClass
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
)