Struct gstreamer::BufferPoolConfig [−][src]
pub struct BufferPoolConfig(_);
Methods
impl BufferPoolConfig[src]
impl BufferPoolConfigpub fn add_option(&mut self, option: &str)[src]
pub fn add_option(&mut self, option: &str)pub fn has_option(&self, option: &str) -> bool[src]
pub fn has_option(&self, option: &str) -> boolpub fn get_options(&self) -> Vec<String>[src]
pub fn get_options(&self) -> Vec<String>pub fn set_params<'a, T: Into<Option<&'a Caps>>>(
&mut self,
caps: T,
size: u32,
min_buffers: u32,
max_buffers: u32
)[src]
pub fn set_params<'a, T: Into<Option<&'a Caps>>>(
&mut self,
caps: T,
size: u32,
min_buffers: u32,
max_buffers: u32
)pub fn get_params(&self) -> Option<(Option<Caps>, u32, u32, u32)>[src]
pub fn get_params(&self) -> Option<(Option<Caps>, u32, u32, u32)>pub fn validate_params<'a, T: Into<Option<&'a Caps>>>(
&self,
caps: T,
size: u32,
min_buffers: u32,
max_buffers: u32
) -> bool[src]
pub fn validate_params<'a, T: Into<Option<&'a Caps>>>(
&self,
caps: T,
size: u32,
min_buffers: u32,
max_buffers: u32
) -> boolMethods from Deref<Target = StructureRef>
pub unsafe fn as_ptr(&self) -> *const GstStructure[src]
pub unsafe fn as_ptr(&self) -> *const GstStructurepub unsafe fn as_mut_ptr(&self) -> *mut GstStructure[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstStructurepub fn to_string(&self) -> String[src]
pub fn to_string(&self) -> Stringpub fn get<'a, T: FromValueOptional<'a>>(&'a self, name: &str) -> Option<T>[src]
pub fn get<'a, T: FromValueOptional<'a>>(&'a self, name: &str) -> Option<T>pub fn get_value<'a>(&'a self, name: &str) -> Option<&SendValue>[src]
pub fn get_value<'a>(&'a self, name: &str) -> Option<&SendValue>pub fn set<T: ToSendValue>(&mut self, name: &str, value: &T)[src]
pub fn set<T: ToSendValue>(&mut self, name: &str, value: &T)pub fn set_value(&mut self, name: &str, value: SendValue)[src]
pub fn set_value(&mut self, name: &str, value: SendValue)pub fn get_name(&self) -> &str[src]
pub fn get_name(&self) -> &strpub fn set_name(&mut self, name: &str)[src]
pub fn set_name(&mut self, name: &str)pub fn has_field(&self, field: &str) -> bool[src]
pub fn has_field(&self, field: &str) -> boolpub fn has_field_with_type(&self, field: &str, type_: Type) -> bool[src]
pub fn has_field_with_type(&self, field: &str, type_: Type) -> boolpub fn remove_field(&mut self, field: &str)[src]
pub fn remove_field(&mut self, field: &str)pub fn remove_fields(&mut self, fields: &[&str])[src]
pub fn remove_fields(&mut self, fields: &[&str])pub fn remove_all_fields(&mut self)[src]
pub fn remove_all_fields(&mut self)ⓘImportant traits for FieldIterator<'a>pub fn fields(&self) -> FieldIterator[src]
ⓘImportant traits for FieldIterator<'a>
pub fn fields(&self) -> FieldIteratorⓘImportant traits for Iter<'a>pub fn iter(&self) -> Iter[src]
ⓘImportant traits for Iter<'a>
pub fn iter(&self) -> Iterpub fn get_nth_field_name(&self, idx: u32) -> Option<&str>[src]
pub fn get_nth_field_name(&self, idx: u32) -> Option<&str>pub fn n_fields(&self) -> u32[src]
pub fn n_fields(&self) -> u32pub fn can_intersect(&self, other: &StructureRef) -> bool[src]
pub fn can_intersect(&self, other: &StructureRef) -> boolpub fn intersect(&self, other: &StructureRef) -> Option<Structure>[src]
pub fn intersect(&self, other: &StructureRef) -> Option<Structure>pub fn is_subset(&self, superset: &StructureRef) -> bool[src]
pub fn is_subset(&self, superset: &StructureRef) -> boolpub fn fixate(&mut self)[src]
pub fn fixate(&mut self)pub fn fixate_field(&mut self, name: &str) -> bool[src]
pub fn fixate_field(&mut self, name: &str) -> boolpub fn fixate_field_bool(&mut self, name: &str, target: bool) -> bool[src]
pub fn fixate_field_bool(&mut self, name: &str, target: bool) -> boolpub fn fixate_field_str(&mut self, name: &str, target: &str) -> bool[src]
pub fn fixate_field_str(&mut self, name: &str, target: &str) -> boolpub fn fixate_field_nearest_double(&mut self, name: &str, target: f64) -> bool[src]
pub fn fixate_field_nearest_double(&mut self, name: &str, target: f64) -> boolpub fn fixate_field_nearest_fraction<T: Into<Fraction>>(
&mut self,
name: &str,
target: T
) -> bool[src]
pub fn fixate_field_nearest_fraction<T: Into<Fraction>>(
&mut self,
name: &str,
target: T
) -> boolpub fn fixate_field_nearest_int(&mut self, name: &str, target: i32) -> bool[src]
pub fn fixate_field_nearest_int(&mut self, name: &str, target: i32) -> boolTrait Implementations
impl Debug for BufferPoolConfig[src]
impl Debug for BufferPoolConfigfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for BufferPoolConfig[src]
impl PartialEq for BufferPoolConfigfn eq(&self, other: &BufferPoolConfig) -> bool[src]
fn eq(&self, other: &BufferPoolConfig) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &BufferPoolConfig) -> bool[src]
fn ne(&self, other: &BufferPoolConfig) -> boolThis method tests for !=.
impl Eq for BufferPoolConfig[src]
impl Eq for BufferPoolConfigimpl Deref for BufferPoolConfig[src]
impl Deref for BufferPoolConfigtype Target = StructureRef
The resulting type after dereferencing.
fn deref(&self) -> &StructureRef[src]
fn deref(&self) -> &StructureRefDereferences the value.
impl DerefMut for BufferPoolConfig[src]
impl DerefMut for BufferPoolConfigfn deref_mut(&mut self) -> &mut StructureRef[src]
fn deref_mut(&mut self) -> &mut StructureRefMutably dereferences the value.
impl AsRef<StructureRef> for BufferPoolConfig[src]
impl AsRef<StructureRef> for BufferPoolConfigfn as_ref(&self) -> &StructureRef[src]
fn as_ref(&self) -> &StructureRefPerforms the conversion.
impl AsMut<StructureRef> for BufferPoolConfig[src]
impl AsMut<StructureRef> for BufferPoolConfigfn as_mut(&mut self) -> &mut StructureRef[src]
fn as_mut(&mut self) -> &mut StructureRefPerforms the conversion.
Auto Trait Implementations
impl Send for BufferPoolConfig
impl Send for BufferPoolConfigimpl !Sync for BufferPoolConfig
impl !Sync for BufferPoolConfig