Struct gstreamer::CapsFeaturesRef [−][src]
#[repr(transparent)]pub struct CapsFeaturesRef(_);
Implementations
impl CapsFeaturesRef[src]
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 is_empty(&self) -> bool[src]
pub fn is_any(&self) -> bool[src]
pub fn contains(&self, feature: &str) -> bool[src]
pub fn contains_quark(&self, feature: Quark) -> bool[src]
pub fn size(&self) -> u32[src]
pub fn nth(&self, idx: u32) -> Option<&str>[src]
pub fn nth_quark(&self, idx: u32) -> Option<Quark>[src]
pub fn add(&mut self, feature: &str)[src]
pub fn remove(&mut self, feature: &str)[src]
pub fn add_from_quark(&mut self, feature: Quark)[src]
pub fn remove_by_quark(&mut self, feature: Quark)[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 AsMut<CapsFeaturesRef> for CapsFeatures[src]fn as_mut(&mut self) -> &mut CapsFeaturesRef[src]
fn as_mut(&mut self) -> &mut CapsFeaturesRef[src]Performs the conversion.
impl AsRef<CapsFeaturesRef> for CapsFeatures[src]
impl AsRef<CapsFeaturesRef> for CapsFeatures[src]fn as_ref(&self) -> &CapsFeaturesRef[src]
fn as_ref(&self) -> &CapsFeaturesRef[src]Performs the conversion.
impl Borrow<CapsFeaturesRef> for CapsFeatures[src]
impl Borrow<CapsFeaturesRef> for CapsFeatures[src]fn borrow(&self) -> &CapsFeaturesRef[src]
fn borrow(&self) -> &CapsFeaturesRef[src]Immutably borrows from an owned value. Read more
impl BorrowMut<CapsFeaturesRef> for CapsFeatures[src]
impl BorrowMut<CapsFeaturesRef> for CapsFeatures[src]fn borrow_mut(&mut self) -> &mut CapsFeaturesRef[src]
fn borrow_mut(&mut self) -> &mut CapsFeaturesRef[src]Mutably borrows from an owned value. Read more
impl Debug for CapsFeaturesRef[src]
impl Debug for CapsFeaturesRef[src]impl Display for CapsFeaturesRef[src]
impl Display for CapsFeaturesRef[src]impl<'a> FromValue<'a> for &'a CapsFeaturesRef[src]
impl<'a> FromValue<'a> for &'a CapsFeaturesRef[src]type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>Value type checker.
unsafe fn from_value(value: &'a Value) -> Self[src]
unsafe fn from_value(value: &'a Value) -> Self[src]Get the contained value from a Value. Read more
impl Serialize for CapsFeaturesRef[src]
impl Serialize for CapsFeaturesRef[src]impl StaticType for CapsFeaturesRef[src]
impl StaticType for CapsFeaturesRef[src]fn static_type() -> Type[src]
fn static_type() -> Type[src]Returns the type identifier of Self.
impl ToOwned for CapsFeaturesRef[src]
impl ToOwned for CapsFeaturesRef[src]type Owned = CapsFeatures
type Owned = CapsFeaturesThe resulting type after obtaining ownership.
fn to_owned(&self) -> CapsFeatures[src]
fn to_owned(&self) -> CapsFeatures[src]Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)[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 ToValue for CapsFeaturesRef[src]
impl ToValue for CapsFeaturesRef[src]impl ToValueOptional for CapsFeaturesRef[src]
impl ToValueOptional for CapsFeaturesRef[src]fn to_value_optional(s: Option<&Self>) -> Value[src]
fn to_value_optional(s: Option<&Self>) -> Value[src]Convert an Option to a Value.
impl Send for CapsFeaturesRef[src]
impl Sync for CapsFeaturesRef[src]
Auto Trait Implementations
impl RefUnwindSafe for CapsFeaturesRef
impl Unpin for CapsFeaturesRef
impl UnwindSafe for CapsFeaturesRef
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized, [src]
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized, [src]pub fn to_send_value(&self) -> SendValue[src]
pub fn to_send_value(&self) -> SendValue[src]Returns a SendValue clone of self.