[−][src]Struct gstreamer::CapsFeaturesRef
Methods
impl CapsFeaturesRef
[src]
pub unsafe fn from_glib_borrow<'a>(
ptr: *const GstCapsFeatures
) -> &'a CapsFeaturesRef
[src]
ptr: *const GstCapsFeatures
) -> &'a CapsFeaturesRef
pub unsafe fn from_glib_borrow_mut<'a>(
ptr: *mut GstCapsFeatures
) -> &'a mut CapsFeaturesRef
[src]
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]
fn as_mut(&mut self) -> &mut CapsFeaturesRef
[src]
impl Sync for CapsFeaturesRef
[src]
impl AsRef<CapsFeaturesRef> for CapsFeatures
[src]
fn as_ref(&self) -> &CapsFeaturesRef
[src]
impl Send for CapsFeaturesRef
[src]
impl ToOwned for CapsFeaturesRef
[src]
type Owned = CapsFeatures
fn to_owned(&self) -> CapsFeatures
[src]
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]
fn borrow(&self) -> &CapsFeaturesRef
[src]
impl BorrowMut<CapsFeaturesRef> for CapsFeatures
[src]
fn borrow_mut(&mut self) -> &mut CapsFeaturesRef
[src]
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,