[][src]Struct gst::BufferPool

pub struct BufferPool { /* fields omitted */ }

Methods

impl BufferPool[src]

pub fn new() -> Option<BufferPool>[src]

pub fn set_params(
    &mut self,
    caps: &Caps,
    size: u32,
    min_buffers: u32,
    max_buffers: u32
)
[src]

pub fn acquire_buffer(&mut self) -> Option<Buffer>[src]

pub fn active(&self) -> bool[src]

pub fn set_active(&mut self, active: bool) -> Result<(), ()>[src]

pub unsafe fn gst_bufferpool(&self) -> *const GstBufferPool[src]

pub unsafe fn gst_bufferpool_mut(&mut self) -> *mut GstBufferPool[src]

Methods from Deref<Target = Object>

pub fn set_name(&mut self, name: &str) -> bool[src]

pub fn name(&self) -> String[src]

Returns the name of the object

pub fn flags(&self) -> u32[src]

pub fn is_flag_set(&self, flag: u32) -> bool[src]

pub fn set_flag(&mut self, flag: u32)[src]

pub fn unset_flag(&mut self, flag: u32)[src]

pub fn refcount(&self) -> usize[src]

pub fn lock<F: FnMut(&mut Object)>(&mut self, f: F)[src]

pub fn set_unique_name(&mut self) -> bool[src]

pub fn set_parent(&mut self, parent: &Object) -> bool[src]

pub fn parent(&self) -> Option<Ref<Object>>[src]

pub fn unparent(&mut self)[src]

pub fn has_as_ancestor(&self, ancestor: &Object) -> bool[src]

pub fn path_string(&self) -> &str[src]

pub fn has_active_control_bindings(&self) -> bool[src]

pub fn disable_control_bindings(&mut self)[src]

pub fn enable_control_bindings(&mut self)[src]

pub fn disable_control_binding(&mut self, property_name: &str)[src]

pub fn enable_control_binding(&mut self, property_name: &str)[src]

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

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

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

pub unsafe fn gst_object(&self) -> *const GstObject[src]

pub unsafe fn gst_object_mut(&mut self) -> *mut GstObject[src]

Trait Implementations

impl Transfer<Struct__GstBufferPool> for BufferPool[src]

impl AsMut<Object> for BufferPool[src]

impl Sync for BufferPool[src]

impl AsRef<Object> for BufferPool[src]

impl Send for BufferPool[src]

impl From<BufferPool> for Object[src]

impl Deref for BufferPool[src]

type Target = Object

The resulting type after dereferencing.

impl DerefMut for BufferPool[src]

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.