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
sourceimpl Clone for GstBufferPoolClass
impl Clone for GstBufferPoolClass
sourcefn clone(&self) -> GstBufferPoolClass
fn clone(&self) -> GstBufferPoolClass
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GstBufferPoolClass
impl Debug for GstBufferPoolClass
impl Copy for GstBufferPoolClass
Auto Trait Implementations
impl RefUnwindSafe for GstBufferPoolClass
impl !Send for GstBufferPoolClass
impl !Sync for GstBufferPoolClass
impl Unpin for GstBufferPoolClass
impl UnwindSafe for GstBufferPoolClass
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more