Struct gst::BufferPool [] [src]

pub struct BufferPool {
    // some fields omitted
}

Methods

impl BufferPool
[src]

fn new() -> Option<BufferPool>

fn set_params(&mut self, caps: &Caps, size: u32, min_buffers: u32, max_buffers: u32)

fn acquire_buffer(&mut self) -> Option<Buffer>

fn active(&self) -> bool

fn set_active(&mut self, active: bool) -> Result<()()>

unsafe fn gst_bufferpool(&self) -> *const GstBufferPool

unsafe fn gst_bufferpool_mut(&mut self) -> *mut GstBufferPool

Methods from Deref<Target=Object>

fn set_name(&mut self, name: &str) -> bool

fn name(&self) -> String

Returns the name of the object

fn flags(&self) -> u32

fn is_flag_set(&self, flag: u32) -> bool

fn set_flag(&mut self, flag: u32)

fn unset_flag(&mut self, flag: u32)

fn refcount(&self) -> usize

fn lock<F: FnMut(&mut Object)>(&mut self, f: F)

fn set_unique_name(&mut self) -> bool

fn set_parent(&mut self, parent: &Object) -> bool

fn parent(&self) -> Option<Ref<Object>>

fn unparent(&mut self)

fn has_as_ancestor(&self, ancestor: &Object) -> bool

fn path_string(&self) -> &str

fn has_active_control_bindings(&self) -> bool

fn disable_control_bindings(&mut self)

fn enable_control_bindings(&mut self)

fn disable_control_binding(&mut self, property_name: &str)

fn enable_control_binding(&mut self, property_name: &str)

fn set<T>(&mut self, name: &str, value: T) where T: Property

fn get<T>(&self, name: &str) -> T where T: FromProperty

unsafe fn signal_connect<T>(&mut self, signal: &str, callback: GCallback, data: &mut T) where Self: Sized

unsafe fn gst_object(&self) -> *const GstObject

unsafe fn gst_object_mut(&mut self) -> *mut GstObject

Trait Implementations

impl Sync for BufferPool
[src]

impl Send for BufferPool
[src]

impl Transfer<GstBufferPool> for BufferPool
[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 AsRef<Object> for BufferPool
[src]

fn as_ref(&self) -> &Object

Performs the conversion.

impl AsMut<Object> for BufferPool
[src]

fn as_mut(&mut self) -> &mut Object

Performs the conversion.

impl Deref for BufferPool
[src]

type Target = Object

The resulting type after dereferencing

fn deref(&self) -> &Object

The method called to dereference a value

impl DerefMut for BufferPool
[src]

fn deref_mut(&mut self) -> &mut Object

The method called to mutably dereference a value