[][src]Struct gstreamer::CapsFeaturesRef

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

Methods

impl CapsFeaturesRef[src]

pub unsafe fn from_glib_borrow<'a>(
    ptr: *const GstCapsFeatures
) -> &'a CapsFeaturesRef
[src]

pub unsafe fn from_glib_borrow_mut<'a>(
    ptr: *mut GstCapsFeatures
) -> &'a mut CapsFeaturesRef
[src]

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 AsMut<CapsFeaturesRef> for CapsFeatures[src]

impl Sync for CapsFeaturesRef[src]

impl AsRef<CapsFeaturesRef> for CapsFeatures[src]

impl Send for CapsFeaturesRef[src]

impl ToOwned for CapsFeaturesRef[src]

type Owned = CapsFeatures

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 Display for CapsFeaturesRef[src]

impl Debug for CapsFeaturesRef[src]

impl Borrow<CapsFeaturesRef> for CapsFeatures[src]

impl BorrowMut<CapsFeaturesRef> for CapsFeatures[src]

Blanket Implementations

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

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.