Struct gst::BufferPool [−][src]
pub struct BufferPool { /* fields omitted */ }
Methods
impl BufferPool
[src]
impl BufferPool
pub fn new() -> Option<BufferPool>
[src]
pub fn new() -> Option<BufferPool>
pub fn set_params(
&mut self,
caps: &Caps,
size: u32,
min_buffers: u32,
max_buffers: u32
)
[src]
pub fn set_params(
&mut self,
caps: &Caps,
size: u32,
min_buffers: u32,
max_buffers: u32
)
pub fn acquire_buffer(&mut self) -> Option<Buffer>
[src]
pub fn acquire_buffer(&mut self) -> Option<Buffer>
pub fn active(&self) -> bool
[src]
pub fn active(&self) -> bool
pub fn set_active(&mut self, active: bool) -> Result<(), ()>
[src]
pub fn set_active(&mut self, active: bool) -> Result<(), ()>
pub unsafe fn gst_bufferpool(&self) -> *const GstBufferPool
[src]
pub unsafe fn gst_bufferpool(&self) -> *const GstBufferPool
pub unsafe fn gst_bufferpool_mut(&mut self) -> *mut GstBufferPool
[src]
pub unsafe fn gst_bufferpool_mut(&mut self) -> *mut GstBufferPool
Methods from Deref<Target = Object>
pub fn set_name(&mut self, name: &str) -> bool
[src]
pub fn set_name(&mut self, name: &str) -> bool
pub fn name(&self) -> String
[src]
pub fn name(&self) -> String
Returns the name of the object
pub fn flags(&self) -> u32
[src]
pub fn flags(&self) -> u32
pub fn is_flag_set(&self, flag: u32) -> bool
[src]
pub fn is_flag_set(&self, flag: u32) -> bool
pub fn set_flag(&mut self, flag: u32)
[src]
pub fn set_flag(&mut self, flag: u32)
pub fn unset_flag(&mut self, flag: u32)
[src]
pub fn unset_flag(&mut self, flag: u32)
pub fn refcount(&self) -> usize
[src]
pub fn refcount(&self) -> usize
pub fn lock<F: FnMut(&mut Object)>(&mut self, f: F)
[src]
pub fn lock<F: FnMut(&mut Object)>(&mut self, f: F)
pub fn set_unique_name(&mut self) -> bool
[src]
pub fn set_unique_name(&mut self) -> bool
pub fn set_parent(&mut self, parent: &Object) -> bool
[src]
pub fn set_parent(&mut self, parent: &Object) -> bool
pub fn parent(&self) -> Option<Ref<Object>>
[src]
pub fn parent(&self) -> Option<Ref<Object>>
pub fn unparent(&mut self)
[src]
pub fn unparent(&mut self)
pub fn has_as_ancestor(&self, ancestor: &Object) -> bool
[src]
pub fn has_as_ancestor(&self, ancestor: &Object) -> bool
pub fn path_string(&self) -> &str
[src]
pub fn path_string(&self) -> &str
pub fn has_active_control_bindings(&self) -> bool
[src]
pub fn has_active_control_bindings(&self) -> bool
pub fn disable_control_bindings(&mut self)
[src]
pub fn disable_control_bindings(&mut self)
pub fn enable_control_bindings(&mut self)
[src]
pub fn enable_control_bindings(&mut self)
pub fn disable_control_binding(&mut self, property_name: &str)
[src]
pub fn disable_control_binding(&mut self, property_name: &str)
pub fn enable_control_binding(&mut self, property_name: &str)
[src]
pub fn enable_control_binding(&mut self, property_name: &str)
pub fn set<T>(&mut self, name: &str, value: T) where
T: Property,
[src]
pub fn set<T>(&mut self, name: &str, value: T) where
T: Property,
pub fn get<T>(&self, name: &str) -> T where
T: FromProperty,
[src]
pub fn get<T>(&self, name: &str) -> T where
T: FromProperty,
pub unsafe fn signal_connect<T>(
&mut self,
signal: &str,
callback: GCallback,
data: &mut T
) where
Self: Sized,
[src]
pub unsafe fn signal_connect<T>(
&mut self,
signal: &str,
callback: GCallback,
data: &mut T
) where
Self: Sized,
pub unsafe fn gst_object(&self) -> *const GstObject
[src]
pub unsafe fn gst_object(&self) -> *const GstObject
pub unsafe fn gst_object_mut(&mut self) -> *mut GstObject
[src]
pub unsafe fn gst_object_mut(&mut self) -> *mut GstObject
Trait Implementations
impl Sync for BufferPool
[src]
impl Sync for BufferPool
impl Send for BufferPool
[src]
impl Send for BufferPool
impl Transfer<GstBufferPool> for BufferPool
[src]
impl Transfer<GstBufferPool> for BufferPool
unsafe fn transfer(self) -> *mut GstBufferPool
[src]
unsafe fn transfer(self) -> *mut GstBufferPool
Consumes the current object and transfers ownership of the raw pointer Used to transfer ownership to ffi functions, should be used when an ffi function expects full transfer of an object to avoid the original object to be unreferenced in the process Read more
impl Reference for BufferPool
[src]
impl Reference for BufferPool
fn reference(&self) -> BufferPool
[src]
fn reference(&self) -> BufferPool
impl AsRef<Object> for BufferPool
[src]
impl AsRef<Object> for BufferPool
impl AsMut<Object> for BufferPool
[src]
impl AsMut<Object> for BufferPool
impl From<BufferPool> for Object
[src]
impl From<BufferPool> for Object
fn from(b: BufferPool) -> Object
[src]
fn from(b: BufferPool) -> Object
Performs the conversion.
impl Deref for BufferPool
[src]
impl Deref for BufferPool
type Target = Object
The resulting type after dereferencing.
fn deref(&self) -> &Object
[src]
fn deref(&self) -> &Object
Dereferences the value.
impl DerefMut for BufferPool
[src]
impl DerefMut for BufferPool