[−][src]Struct gstreamer::structure::StructureRef
Methods
impl StructureRef
[src]
pub unsafe fn from_glib_borrow<'a>(ptr: *const GstStructure) -> &'a StructureRef
[src]
pub unsafe fn from_glib_borrow_mut<'a>(
ptr: *mut GstStructure
) -> &'a mut StructureRef
[src]
ptr: *mut GstStructure
) -> &'a mut StructureRef
pub unsafe fn as_ptr(&self) -> *const GstStructure
[src]
pub unsafe fn as_mut_ptr(&self) -> *mut GstStructure
[src]
pub fn to_string(&self) -> String
[src]
pub fn get<'a, T: FromValueOptional<'a>>(&'a self, name: &str) -> Option<T>
[src]
pub fn get_value<'a>(&'a self, name: &str) -> Option<&SendValue>
[src]
pub fn set<T: ToSendValue>(&mut self, name: &str, value: &T)
[src]
pub fn set_value(&mut self, name: &str, value: SendValue)
[src]
pub fn get_name(&self) -> &str
[src]
pub fn set_name(&mut self, name: &str)
[src]
pub fn has_field(&self, field: &str) -> bool
[src]
pub fn has_field_with_type(&self, field: &str, type_: Type) -> bool
[src]
pub fn remove_field(&mut self, field: &str)
[src]
pub fn remove_fields(&mut self, fields: &[&str])
[src]
pub fn remove_all_fields(&mut self)
[src]
ⓘImportant traits for FieldIterator<'a>pub fn fields(&self) -> FieldIterator
[src]
ⓘImportant traits for FieldIterator<'a>
ⓘImportant traits for Iter<'a>pub fn iter(&self) -> Iter
[src]
ⓘImportant traits for Iter<'a>
pub fn get_nth_field_name(&self, idx: u32) -> Option<&str>
[src]
pub fn n_fields(&self) -> u32
[src]
pub fn can_intersect(&self, other: &StructureRef) -> bool
[src]
pub fn intersect(&self, other: &StructureRef) -> Option<Structure>
[src]
pub fn is_subset(&self, superset: &StructureRef) -> bool
[src]
pub fn fixate(&mut self)
[src]
pub fn fixate_field(&mut self, name: &str) -> bool
[src]
pub fn fixate_field_bool(&mut self, name: &str, target: bool) -> bool
[src]
pub fn fixate_field_str(&mut self, name: &str, target: &str) -> bool
[src]
pub fn fixate_field_nearest_double(&mut self, name: &str, target: f64) -> bool
[src]
pub fn fixate_field_nearest_fraction<T: Into<Fraction>>(
&mut self,
name: &str,
target: T
) -> bool
[src]
&mut self,
name: &str,
target: T
) -> bool
pub fn fixate_field_nearest_int(&mut self, name: &str, target: i32) -> bool
[src]
Trait Implementations
impl AsMut<StructureRef> for Structure
[src]
fn as_mut(&mut self) -> &mut StructureRef
[src]
impl AsMut<StructureRef> for BufferPoolConfig
[src]
fn as_mut(&mut self) -> &mut StructureRef
[src]
impl PartialEq<StructureRef> for Structure
[src]
fn eq(&self, other: &StructureRef) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl PartialEq<StructureRef> for StructureRef
[src]
fn eq(&self, other: &StructureRef) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> boolThis method tests for !=
.
impl Sync for StructureRef
[src]
impl AsRef<StructureRef> for Structure
[src]
fn as_ref(&self) -> &StructureRef
[src]
impl AsRef<StructureRef> for BufferPoolConfig
[src]
fn as_ref(&self) -> &StructureRef
[src]
impl Send for StructureRef
[src]
impl Eq for StructureRef
[src]
impl ToOwned for StructureRef
[src]
type Owned = Structure
fn to_owned(&self) -> Structure
[src]
fn clone_into(&self, target: &mut Self::Owned)
[src]
🔬 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 Debug for StructureRef
[src]
impl Borrow<StructureRef> for Structure
[src]
fn borrow(&self) -> &StructureRef
[src]
impl BorrowMut<StructureRef> for Structure
[src]
fn borrow_mut(&mut self) -> &mut StructureRef
[src]
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,