Struct gstreamer::BufferPoolConfig [−][src]
pub struct BufferPoolConfig(_);
Methods
impl BufferPoolConfig
[src]
impl BufferPoolConfig
pub 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) -> bool
pub 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
) -> bool
Methods from Deref<Target = StructureRef>
pub unsafe fn as_ptr(&self) -> *const GstStructure
[src]
pub unsafe fn as_ptr(&self) -> *const GstStructure
pub unsafe fn as_mut_ptr(&self) -> *mut GstStructure
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstStructure
pub fn to_string(&self) -> String
[src]
pub fn to_string(&self) -> String
pub 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) -> &str
pub 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) -> bool
pub fn has_field_with_type(&self, field: &str, type_: Type) -> bool
[src]
pub fn has_field_with_type(&self, field: &str, type_: Type) -> bool
pub 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) -> Iter
pub 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) -> u32
pub fn can_intersect(&self, other: &StructureRef) -> bool
[src]
pub fn can_intersect(&self, other: &StructureRef) -> bool
pub 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) -> bool
pub 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) -> bool
pub fn fixate_field_bool(&mut self, name: &str, target: bool) -> bool
[src]
pub fn fixate_field_bool(&mut self, name: &str, target: bool) -> bool
pub fn fixate_field_str(&mut self, name: &str, target: &str) -> bool
[src]
pub fn fixate_field_str(&mut self, name: &str, target: &str) -> bool
pub 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) -> bool
pub 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
) -> bool
pub 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) -> bool
Trait Implementations
impl Debug for BufferPoolConfig
[src]
impl Debug for BufferPoolConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for BufferPoolConfig
[src]
impl PartialEq for BufferPoolConfig
fn eq(&self, other: &BufferPoolConfig) -> bool
[src]
fn eq(&self, other: &BufferPoolConfig) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for BufferPoolConfig
[src]
impl Eq for BufferPoolConfig
impl Deref for BufferPoolConfig
[src]
impl Deref for BufferPoolConfig
type Target = StructureRef
The resulting type after dereferencing.
fn deref(&self) -> &StructureRef
[src]
fn deref(&self) -> &StructureRef
Dereferences the value.
impl DerefMut for BufferPoolConfig
[src]
impl DerefMut for BufferPoolConfig
fn deref_mut(&mut self) -> &mut StructureRef
[src]
fn deref_mut(&mut self) -> &mut StructureRef
Mutably dereferences the value.
impl AsRef<StructureRef> for BufferPoolConfig
[src]
impl AsRef<StructureRef> for BufferPoolConfig
fn as_ref(&self) -> &StructureRef
[src]
fn as_ref(&self) -> &StructureRef
Performs the conversion.
impl AsMut<StructureRef> for BufferPoolConfig
[src]
impl AsMut<StructureRef> for BufferPoolConfig
fn as_mut(&mut self) -> &mut StructureRef
[src]
fn as_mut(&mut self) -> &mut StructureRef
Performs the conversion.
Auto Trait Implementations
impl Send for BufferPoolConfig
impl Send for BufferPoolConfig
impl !Sync for BufferPoolConfig
impl !Sync for BufferPoolConfig