Struct gstreamer::structure::StructureRef [−][src]
#[repr(C)]pub struct StructureRef(_);
Methods
impl StructureRef
[src]
impl StructureRef
pub unsafe fn from_glib_borrow<'a>(ptr: *const GstStructure) -> &'a StructureRef
[src]
pub unsafe fn from_glib_borrow<'a>(ptr: *const GstStructure) -> &'a StructureRef
pub 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 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 AsRef<StructureRef> for Structure
[src]
impl AsRef<StructureRef> for Structure
fn as_ref(&self) -> &StructureRef
[src]
fn as_ref(&self) -> &StructureRef
Performs the conversion.
impl AsMut<StructureRef> for Structure
[src]
impl AsMut<StructureRef> for Structure
fn as_mut(&mut self) -> &mut StructureRef
[src]
fn as_mut(&mut self) -> &mut StructureRef
Performs the conversion.
impl PartialEq<StructureRef> for Structure
[src]
impl PartialEq<StructureRef> for Structure
fn eq(&self, other: &StructureRef) -> bool
[src]
fn eq(&self, other: &StructureRef) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Borrow<StructureRef> for Structure
[src]
impl Borrow<StructureRef> for Structure
fn borrow(&self) -> &StructureRef
[src]
fn borrow(&self) -> &StructureRef
Immutably borrows from an owned value. Read more
impl BorrowMut<StructureRef> for Structure
[src]
impl BorrowMut<StructureRef> for Structure
fn borrow_mut(&mut self) -> &mut StructureRef
[src]
fn borrow_mut(&mut self) -> &mut StructureRef
Mutably borrows from an owned value. Read more
impl ToOwned for StructureRef
[src]
impl ToOwned for StructureRef
type Owned = Structure
fn to_owned(&self) -> Structure
[src]
fn to_owned(&self) -> Structure
Creates 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 StructureRef
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 Debug for StructureRef
[src]
impl Debug for StructureRef
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 StructureRef
[src]
impl PartialEq for StructureRef
fn eq(&self, other: &StructureRef) -> bool
[src]
fn eq(&self, other: &StructureRef) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for StructureRef
[src]
impl Eq for StructureRef
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 StructureRef
impl Send for StructureRef
impl Sync for StructureRef
impl Sync for StructureRef