Struct gstreamer::CapsFeatures [−][src]
pub struct CapsFeatures(_);
Implementations
impl CapsFeatures[src]
impl CapsFeatures[src]Methods from Deref<Target = 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 Clone for CapsFeatures[src]
impl Clone for CapsFeatures[src]impl Debug for CapsFeatures[src]
impl Debug for CapsFeatures[src]impl Deref for CapsFeatures[src]
impl Deref for CapsFeatures[src]type Target = CapsFeaturesRef
type Target = CapsFeaturesRefThe resulting type after dereferencing.
fn deref(&self) -> &CapsFeaturesRef[src]
fn deref(&self) -> &CapsFeaturesRef[src]Dereferences the value.
impl DerefMut for CapsFeatures[src]
impl DerefMut for CapsFeatures[src]fn deref_mut(&mut self) -> &mut CapsFeaturesRef[src]
fn deref_mut(&mut self) -> &mut CapsFeaturesRef[src]Mutably dereferences the value.
impl<'de> Deserialize<'de> for CapsFeatures[src]
impl<'de> Deserialize<'de> for CapsFeatures[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]Deserialize this value from the given Serde deserializer. Read more
impl Display for CapsFeatures[src]
impl Display for CapsFeatures[src]impl Drop for CapsFeatures[src]
impl Drop for CapsFeatures[src]impl FromGlibPtrFull<*const GstCapsFeatures> for CapsFeatures[src]
impl FromGlibPtrFull<*const GstCapsFeatures> for CapsFeatures[src]unsafe fn from_glib_full(ptr: *const GstCapsFeatures) -> Self[src]
unsafe fn from_glib_full(ptr: *const GstCapsFeatures) -> Self[src]Safety Read more
impl FromGlibPtrFull<*mut GstCapsFeatures> for CapsFeatures[src]
impl FromGlibPtrFull<*mut GstCapsFeatures> for CapsFeatures[src]unsafe fn from_glib_full(ptr: *mut GstCapsFeatures) -> Self[src]
unsafe fn from_glib_full(ptr: *mut GstCapsFeatures) -> Self[src]Safety Read more
impl FromGlibPtrNone<*const GstCapsFeatures> for CapsFeatures[src]
impl FromGlibPtrNone<*const GstCapsFeatures> for CapsFeatures[src]unsafe fn from_glib_none(ptr: *const GstCapsFeatures) -> Self[src]
unsafe fn from_glib_none(ptr: *const GstCapsFeatures) -> Self[src]Safety Read more
impl FromGlibPtrNone<*mut GstCapsFeatures> for CapsFeatures[src]
impl FromGlibPtrNone<*mut GstCapsFeatures> for CapsFeatures[src]unsafe fn from_glib_none(ptr: *mut GstCapsFeatures) -> Self[src]
unsafe fn from_glib_none(ptr: *mut GstCapsFeatures) -> Self[src]Safety Read more
impl FromStr for CapsFeatures[src]
impl FromStr for CapsFeatures[src]impl<'a> FromValue<'a> for CapsFeatures[src]
impl<'a> FromValue<'a> for CapsFeatures[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 GlibPtrDefault for CapsFeatures[src]
impl GlibPtrDefault for CapsFeatures[src]impl Serialize for CapsFeatures[src]
impl Serialize for CapsFeatures[src]impl StaticType for CapsFeatures[src]
impl StaticType for CapsFeatures[src]fn static_type() -> Type[src]
fn static_type() -> Type[src]Returns the type identifier of Self.
impl<'a> ToGlibPtr<'a, *const GstCapsFeatures> for CapsFeatures[src]
impl<'a> ToGlibPtr<'a, *const GstCapsFeatures> for CapsFeatures[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *const GstCapsFeatures, Self>[src]
fn to_glib_none(&'a self) -> Stash<'a, *const GstCapsFeatures, Self>[src]Transfer: none. Read more
fn to_glib_full(&self) -> *const GstCapsFeatures[src]
fn to_glib_full(&self) -> *const GstCapsFeatures[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]Transfer: container. Read more
impl<'a> ToGlibPtr<'a, *mut GstCapsFeatures> for CapsFeatures[src]
impl<'a> ToGlibPtr<'a, *mut GstCapsFeatures> for CapsFeatures[src]type Storage = &'a Self
fn to_glib_none(&'a self) -> Stash<'a, *mut GstCapsFeatures, Self>[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut GstCapsFeatures, Self>[src]Transfer: none. Read more
fn to_glib_full(&self) -> *mut GstCapsFeatures[src]
fn to_glib_full(&self) -> *mut GstCapsFeatures[src]Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]Transfer: container. Read more
impl<'a> ToGlibPtrMut<'a, *mut GstCapsFeatures> for CapsFeatures[src]
impl<'a> ToGlibPtrMut<'a, *mut GstCapsFeatures> for CapsFeatures[src]impl ToValue for CapsFeatures[src]
impl ToValue for CapsFeatures[src]impl ToValueOptional for CapsFeatures[src]
impl ToValueOptional for CapsFeatures[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 ValueType for CapsFeatures[src]
impl ValueType for CapsFeatures[src]impl Send for CapsFeatures[src]
impl Sync for CapsFeatures[src]
Auto Trait Implementations
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> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[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<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.
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<'a, T, C> FromValueOptional<'a> for T where
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>, [src]
C: ValueTypeChecker<Error = ValueTypeMismatchOrNoneError>,
T: FromValue<'a, Checker = C>,