Struct gstreamer::structure::StructureRef [−][src]
#[repr(C)]pub struct StructureRef(_);
Methods
impl StructureRef[src]
impl StructureRefpub unsafe fn from_glib_borrow<'a>(ptr: *const GstStructure) -> &'a StructureRef[src]
pub unsafe fn from_glib_borrow<'a>(ptr: *const GstStructure) -> &'a StructureRefpub unsafe fn from_glib_borrow_mut<'a>(
ptr: *mut GstStructure
) -> &'a mut StructureRef[src]
pub unsafe fn from_glib_borrow_mut<'a>(
ptr: *mut GstStructure
) -> &'a mut StructureRefpub 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 AsRef<StructureRef> for Structure[src]
impl AsRef<StructureRef> for Structurefn as_ref(&self) -> &StructureRef[src]
fn as_ref(&self) -> &StructureRefPerforms the conversion.
impl AsMut<StructureRef> for Structure[src]
impl AsMut<StructureRef> for Structurefn as_mut(&mut self) -> &mut StructureRef[src]
fn as_mut(&mut self) -> &mut StructureRefPerforms the conversion.
impl PartialEq<StructureRef> for Structure[src]
impl PartialEq<StructureRef> for Structurefn eq(&self, other: &StructureRef) -> bool[src]
fn eq(&self, other: &StructureRef) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Borrow<StructureRef> for Structure[src]
impl Borrow<StructureRef> for Structurefn borrow(&self) -> &StructureRef[src]
fn borrow(&self) -> &StructureRefImmutably borrows from an owned value. Read more
impl BorrowMut<StructureRef> for Structure[src]
impl BorrowMut<StructureRef> for Structurefn borrow_mut(&mut self) -> &mut StructureRef[src]
fn borrow_mut(&mut self) -> &mut StructureRefMutably borrows from an owned value. Read more
impl ToOwned for StructureRef[src]
impl ToOwned for StructureReftype Owned = Structure
fn to_owned(&self) -> Structure[src]
fn to_owned(&self) -> StructureCreates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)[src]
fn clone_into(&self, target: &mut Self::Owned)🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Display for StructureRef[src]
impl Display for StructureReffn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Debug for StructureRef[src]
impl Debug for StructureReffn 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 StructureRef[src]
impl PartialEq for StructureReffn eq(&self, other: &StructureRef) -> bool[src]
fn eq(&self, other: &StructureRef) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for StructureRef[src]
impl Eq for StructureRefimpl 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 StructureRef
impl Send for StructureRefimpl Sync for StructureRef
impl Sync for StructureRef