[][src]Struct gstreamer::caps::CapsRef

#[repr(C)]
pub struct CapsRef(_);

Methods

impl CapsRef[src]

pub fn set_simple(&mut self, values: &[(&str, &dyn ToSendValue)])[src]

pub fn to_string(&self) -> String[src]

pub fn get_structure(&self, idx: u32) -> Option<&StructureRef>[src]

pub fn get_mut_structure(&mut self, idx: u32) -> Option<&mut StructureRef>[src]

pub fn get_features(&self, idx: u32) -> Option<&CapsFeaturesRef>[src]

pub fn get_mut_features(&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]

pub fn get_size(&self) -> u32[src]

Important traits for Iter<'a>
pub fn iter(&self) -> Iter[src]

Important traits for IterMut<'a>
pub fn iter_mut(&mut self) -> IterMut[src]

Important traits for IterFeatures<'a>
pub fn iter_with_features(&self) -> IterFeatures[src]

Important traits for IterFeaturesMut<'a>
pub fn iter_with_features_mut(&mut self) -> IterFeaturesMut[src]

pub fn append_structure(&mut self, structure: Structure)[src]

pub fn append_structure_full(
    &mut self,
    structure: Structure,
    features: Option<CapsFeatures>
)
[src]

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]

pub fn subtract(&self, other: &Self) -> Caps[src]

Trait Implementations

impl MiniObject for CapsRef[src]

type GstType = GstCaps

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl AsRef<CapsRef> for Caps[src]

impl Eq for CapsRef[src]

impl Sync for CapsRef[src]

impl ToOwned for CapsRef[src]

type Owned = Caps

The resulting type after obtaining ownership.

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 Send for CapsRef[src]

impl PartialEq<CapsRef> for CapsRef[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Display for CapsRef[src]

impl Debug for CapsRef[src]

impl Borrow<CapsRef> for Caps[src]

impl StaticType for CapsRef[src]

impl Serialize for CapsRef[src]

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]