Struct gstreamer::CapsFeaturesRef[][src]

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

Implementations

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 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]

fn as_mut(&mut self) -> &mut CapsFeaturesRef[src]

Performs the conversion.

impl AsRef<CapsFeaturesRef> for CapsFeatures[src]

fn as_ref(&self) -> &CapsFeaturesRef[src]

Performs the conversion.

impl Borrow<CapsFeaturesRef> for CapsFeatures[src]

fn borrow(&self) -> &CapsFeaturesRef[src]

Immutably borrows from an owned value. Read more

impl BorrowMut<CapsFeaturesRef> for CapsFeatures[src]

fn borrow_mut(&mut self) -> &mut CapsFeaturesRef[src]

Mutably borrows from an owned value. Read more

impl Debug for CapsFeaturesRef[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl Display for CapsFeaturesRef[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

impl<'a> FromValue<'a> for &'a CapsFeaturesRef[src]

type Checker = GenericValueTypeOrNoneChecker<Self>

Value type checker.

unsafe fn from_value(value: &'a Value) -> Self[src]

Get the contained value from a Value. Read more

impl Serialize for CapsFeaturesRef[src]

fn serialize<S: Serializer>(&self, serializer: S) -> Result<S::Ok, S::Error>[src]

Serialize this value into the given Serde serializer. Read more

impl StaticType for CapsFeaturesRef[src]

fn static_type() -> Type[src]

Returns the type identifier of Self.

impl ToOwned for CapsFeaturesRef[src]

type Owned = CapsFeatures

The resulting type after obtaining ownership.

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]

🔬 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]

fn to_value(&self) -> Value[src]

Convert a value to a Value.

fn value_type(&self) -> Type[src]

Returns the type identifer of self. Read more

impl ToValueOptional for CapsFeaturesRef[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> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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

pub fn to_send_value(&self) -> SendValue[src]

Returns a SendValue clone of self.

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

pub default fn to_string(&self) -> String[src]

Converts the given value to a String. Read more

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.