Struct gstreamer::caps::CapsRef [−][src]
#[repr(transparent)]pub struct CapsRef(_);
Implementations
impl CapsRef
[src]
impl CapsRef
[src]impl CapsRef
[src]
impl CapsRef
[src]pub fn set_simple(&mut self, values: &[(&str, &(dyn ToSendValue + Sync))])
[src]
pub fn structure(&self, idx: u32) -> Option<&StructureRef>
[src]
pub fn structure_mut(&mut self, idx: u32) -> Option<&mut StructureRef>
[src]
pub fn features(&self, idx: u32) -> Option<&CapsFeaturesRef>
[src]
pub fn features_mut(&mut self, idx: u32) -> Option<&mut CapsFeaturesRef>
[src]
pub fn set_features(&mut self, idx: u32, features: Option<CapsFeatures>)
[src]
pub fn set_features_simple(&mut self, features: Option<CapsFeatures>)
[src]
This is supported on crate feature
v1_16
only.pub fn size(&self) -> u32
[src]
pub fn iter(&self) -> Iter<'_>ⓘNotable traits for Iter<'a>
impl<'a> Iterator for Iter<'a> type Item = &'a StructureRef;
[src]
Notable traits for Iter<'a>
impl<'a> Iterator for Iter<'a> type Item = &'a StructureRef;
pub fn iter_mut(&mut self) -> IterMut<'_>ⓘNotable traits for IterMut<'a>
impl<'a> Iterator for IterMut<'a> type Item = &'a mut StructureRef;
[src]
Notable traits for IterMut<'a>
impl<'a> Iterator for IterMut<'a> type Item = &'a mut StructureRef;
pub fn iter_with_features(&self) -> IterFeatures<'_>ⓘNotable traits for IterFeatures<'a>
impl<'a> Iterator for IterFeatures<'a> type Item = (&'a StructureRef, &'a CapsFeaturesRef);
[src]
Notable traits for IterFeatures<'a>
impl<'a> Iterator for IterFeatures<'a> type Item = (&'a StructureRef, &'a CapsFeaturesRef);
pub fn iter_with_features_mut(&mut self) -> IterFeaturesMut<'_>ⓘNotable traits for IterFeaturesMut<'a>
impl<'a> Iterator for IterFeaturesMut<'a> type Item = (&'a mut StructureRef, &'a mut CapsFeaturesRef);
[src]
Notable traits for IterFeaturesMut<'a>
impl<'a> Iterator for IterFeaturesMut<'a> type Item = (&'a mut StructureRef, &'a mut CapsFeaturesRef);
pub fn append_structure(&mut self, structure: Structure)
[src]
pub fn append_structure_full(
&mut self,
structure: Structure,
features: Option<CapsFeatures>
)
[src]
&mut self,
structure: Structure,
features: Option<CapsFeatures>
)
pub fn remove_structure(&mut self, idx: u32)
[src]
pub fn append(&mut self, other: Caps)
[src]
pub fn can_intersect(&self, other: &Self) -> bool
[src]
pub fn intersect(&self, other: &Self) -> Caps
[src]
pub fn intersect_with_mode(&self, other: &Self, mode: CapsIntersectMode) -> Caps
[src]
pub fn is_always_compatible(&self, other: &Self) -> bool
[src]
pub fn is_any(&self) -> bool
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn is_fixed(&self) -> bool
[src]
pub fn is_equal_fixed(&self, other: &Self) -> bool
[src]
pub fn is_strictly_equal(&self, other: &Self) -> bool
[src]
pub fn is_subset(&self, superset: &Self) -> bool
[src]
pub fn is_subset_structure(&self, structure: &StructureRef) -> bool
[src]
pub fn is_subset_structure_full(
&self,
structure: &StructureRef,
features: Option<&CapsFeaturesRef>
) -> bool
[src]
&self,
structure: &StructureRef,
features: Option<&CapsFeaturesRef>
) -> bool
pub fn subtract(&self, other: &Self) -> Caps
[src]
Trait Implementations
impl<'a> FromValue<'a> for &'a CapsRef
[src]
impl<'a> FromValue<'a> for &'a CapsRef
[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
unsafe fn from_value(value: &'a Value) -> Self
[src]
unsafe fn from_value(value: &'a Value) -> Self
[src]Get the contained value from a Value
. Read more
impl GlibPtrDefault for CapsRef
[src]
impl GlibPtrDefault for CapsRef
[src]impl StaticType for CapsRef
[src]
impl StaticType for CapsRef
[src]fn static_type() -> Type
[src]
fn static_type() -> Type
[src]Returns the type identifier of Self
.
impl ToOwned for CapsRef
[src]
impl ToOwned for CapsRef
[src]fn clone_into(&self, target: &mut Self::Owned)
[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 Eq for CapsRef
[src]
impl Send for CapsRef
[src]
impl Sync for CapsRef
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more