[][src]Struct gstreamer::CapsFeatures

pub struct CapsFeatures(_);

Implementations

impl CapsFeatures[src]

pub fn new(features: &[&str]) -> Self[src]

pub fn new_empty() -> Self[src]

pub fn new_any() -> Self[src]

pub unsafe fn into_ptr(self) -> *mut GstCapsFeatures[src]

Methods from Deref<Target = CapsFeaturesRef>

pub unsafe fn as_ptr(&self) -> *const GstCapsFeatures[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstCapsFeatures[src]

pub fn is_empty(&self) -> bool[src]

pub fn is_any(&self) -> bool[src]

pub fn contains(&self, feature: &str) -> bool[src]

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

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

pub fn add(&mut self, feature: &str)[src]

pub fn remove(&mut self, feature: &str)[src]

pub fn iter(&self) -> Iter<'_>[src]

pub fn is_equal(&self, other: &CapsFeaturesRef) -> bool[src]

Trait Implementations

impl AsMut<CapsFeaturesRef> for CapsFeatures[src]

impl AsRef<CapsFeaturesRef> for CapsFeatures[src]

impl Borrow<CapsFeaturesRef> for CapsFeatures[src]

impl BorrowMut<CapsFeaturesRef> for CapsFeatures[src]

impl Clone for CapsFeatures[src]

impl Debug for CapsFeatures[src]

impl Deref for CapsFeatures[src]

type Target = CapsFeaturesRef

The resulting type after dereferencing.

impl DerefMut for CapsFeatures[src]

impl<'de> Deserialize<'de> for CapsFeatures[src]

impl Display for CapsFeatures[src]

impl Drop for CapsFeatures[src]

impl FromGlibPtrFull<*const GstCapsFeatures> for CapsFeatures[src]

impl FromGlibPtrFull<*mut GstCapsFeatures> for CapsFeatures[src]

impl FromGlibPtrNone<*const GstCapsFeatures> for CapsFeatures[src]

impl FromGlibPtrNone<*mut GstCapsFeatures> for CapsFeatures[src]

impl FromStr for CapsFeatures[src]

type Err = BoolError

The associated error which can be returned from parsing.

impl<'a> FromValueOptional<'a> for CapsFeatures[src]

impl GlibPtrDefault for CapsFeatures[src]

type GlibType = *mut GstCapsFeatures

impl Send for CapsFeatures[src]

impl Serialize for CapsFeatures[src]

impl SetValue for CapsFeatures[src]

impl SetValueOptional for CapsFeatures[src]

impl StaticType for CapsFeatures[src]

impl Sync for CapsFeatures[src]

impl<'a> ToGlibPtr<'a, *const GstCapsFeatures> for CapsFeatures[src]

type Storage = &'a Self

impl<'a> ToGlibPtr<'a, *mut GstCapsFeatures> for CapsFeatures[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GstCapsFeatures> for CapsFeatures[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for CapsFeatures

impl Unpin for CapsFeatures

impl UnwindSafe for CapsFeatures

Blanket Implementations

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]

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

impl<T> ToValue for T where
    T: SetValue + ?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.