[][src]Struct gstreamer::CapsFeatures

pub struct CapsFeatures(_, _);

Methods

impl CapsFeatures[src]

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

pub fn new_empty() -> Self[src]

pub fn new_any() -> Self[src]

pub fn from_string(value: &str) -> Option<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 to_string(&self) -> String[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 Drop for CapsFeatures[src]

impl AsMut<CapsFeaturesRef> for CapsFeatures[src]

impl AsRef<CapsFeaturesRef> for CapsFeatures[src]

impl Clone for CapsFeatures[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Sync for CapsFeatures[src]

impl Send for CapsFeatures[src]

impl Display for CapsFeatures[src]

impl DerefMut for CapsFeatures[src]

impl Deref for CapsFeatures[src]

type Target = CapsFeaturesRef

The resulting type after dereferencing.

impl Debug for CapsFeatures[src]

impl FromStr for CapsFeatures[src]

type Err = ()

The associated error which can be returned from parsing.

impl BorrowMut<CapsFeaturesRef> for CapsFeatures[src]

impl Borrow<CapsFeaturesRef> for CapsFeatures[src]

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

type Storage = &'a Self

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

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

type Storage = &'a Self

fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]

Transfer: container. Read more

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

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

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

type Storage = &'a mut Self

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

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

impl GlibPtrDefault for CapsFeatures[src]

impl StaticType for CapsFeatures[src]

impl SetValue for CapsFeatures[src]

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

impl SetValueOptional for CapsFeatures[src]

impl Serialize for CapsFeatures[src]

impl<'de> Deserialize<'de> for CapsFeatures[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]

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 GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

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

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

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

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