[][src]Struct gstreamer::CapsFeaturesRef

pub struct CapsFeaturesRef(_);


impl CapsFeaturesRef[src]

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

pub unsafe fn from_glib_borrow_mut<'a>(
    ptr: *mut GstCapsFeatures
) -> &'a mut 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 AsMut<CapsFeaturesRef> for CapsFeatures[src]

impl AsRef<CapsFeaturesRef> for CapsFeatures[src]

impl Sync for CapsFeaturesRef[src]

impl ToOwned for CapsFeaturesRef[src]

type Owned = CapsFeatures

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

impl Display for CapsFeaturesRef[src]

impl Debug for CapsFeaturesRef[src]

impl BorrowMut<CapsFeaturesRef> for CapsFeatures[src]

impl Borrow<CapsFeaturesRef> for CapsFeatures[src]

impl Serialize for CapsFeaturesRef[src]

Blanket Implementations

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

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Borrow<T> for T where
    T: ?Sized

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