Struct gstreamer::CapsFeatures
source · #[repr(transparent)]pub struct CapsFeatures(_);
Implementations§
Methods from Deref<Target = CapsFeaturesRef>§
pub fn as_ptr(&self) -> *const GstCapsFeatures
pub fn as_mut_ptr(&self) -> *mut GstCapsFeatures
pub fn is_empty(&self) -> bool
pub fn is_any(&self) -> bool
pub fn contains(&self, feature: &str) -> bool
pub fn contains_quark(&self, feature: Quark) -> bool
pub fn size(&self) -> u32
pub fn nth(&self, idx: u32) -> Option<&str>
pub fn nth_quark(&self, idx: u32) -> Option<Quark>
pub fn add(&mut self, feature: &str)
pub fn remove(&mut self, feature: &str)
pub fn add_from_quark(&mut self, feature: Quark)
pub fn remove_by_quark(&mut self, feature: Quark)
pub fn iter(&self) -> Iter<'_>
pub fn is_equal(&self, other: &CapsFeaturesRef) -> bool
Trait Implementations§
source§impl AsMut<CapsFeaturesRef> for CapsFeatures
impl AsMut<CapsFeaturesRef> for CapsFeatures
source§fn as_mut(&mut self) -> &mut CapsFeaturesRef
fn as_mut(&mut self) -> &mut CapsFeaturesRef
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<CapsFeaturesRef> for CapsFeatures
impl AsRef<CapsFeaturesRef> for CapsFeatures
source§fn as_ref(&self) -> &CapsFeaturesRef
fn as_ref(&self) -> &CapsFeaturesRef
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<CapsFeaturesRef> for CapsFeatures
impl Borrow<CapsFeaturesRef> for CapsFeatures
source§fn borrow(&self) -> &CapsFeaturesRef
fn borrow(&self) -> &CapsFeaturesRef
Immutably borrows from an owned value. Read more
source§impl BorrowMut<CapsFeaturesRef> for CapsFeatures
impl BorrowMut<CapsFeaturesRef> for CapsFeatures
source§fn borrow_mut(&mut self) -> &mut CapsFeaturesRef
fn borrow_mut(&mut self) -> &mut CapsFeaturesRef
Mutably borrows from an owned value. Read more
source§impl Clone for CapsFeatures
impl Clone for CapsFeatures
source§impl Debug for CapsFeatures
impl Debug for CapsFeatures
source§impl Deref for CapsFeatures
impl Deref for CapsFeatures
§type Target = CapsFeaturesRef
type Target = CapsFeaturesRef
The resulting type after dereferencing.
source§fn deref(&self) -> &CapsFeaturesRef
fn deref(&self) -> &CapsFeaturesRef
Dereferences the value.
source§impl DerefMut for CapsFeatures
impl DerefMut for CapsFeatures
source§fn deref_mut(&mut self) -> &mut CapsFeaturesRef
fn deref_mut(&mut self) -> &mut CapsFeaturesRef
Mutably dereferences the value.
source§impl<'de> Deserialize<'de> for CapsFeatures
impl<'de> Deserialize<'de> for CapsFeatures
source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for CapsFeatures
impl Display for CapsFeatures
source§impl Drop for CapsFeatures
impl Drop for CapsFeatures
source§impl FromGlibPtrFull<*const GstCapsFeatures> for CapsFeatures
impl FromGlibPtrFull<*const GstCapsFeatures> for CapsFeatures
source§unsafe fn from_glib_full(ptr: *const GstCapsFeatures) -> Self
unsafe fn from_glib_full(ptr: *const GstCapsFeatures) -> Self
Safety Read more
source§impl FromGlibPtrFull<*mut GstCapsFeatures> for CapsFeatures
impl FromGlibPtrFull<*mut GstCapsFeatures> for CapsFeatures
source§unsafe fn from_glib_full(ptr: *mut GstCapsFeatures) -> Self
unsafe fn from_glib_full(ptr: *mut GstCapsFeatures) -> Self
Safety Read more
source§impl FromGlibPtrNone<*const GstCapsFeatures> for CapsFeatures
impl FromGlibPtrNone<*const GstCapsFeatures> for CapsFeatures
source§unsafe fn from_glib_none(ptr: *const GstCapsFeatures) -> Self
unsafe fn from_glib_none(ptr: *const GstCapsFeatures) -> Self
Safety Read more
source§impl FromGlibPtrNone<*mut GstCapsFeatures> for CapsFeatures
impl FromGlibPtrNone<*mut GstCapsFeatures> for CapsFeatures
source§unsafe fn from_glib_none(ptr: *mut GstCapsFeatures) -> Self
unsafe fn from_glib_none(ptr: *mut GstCapsFeatures) -> Self
Safety Read more
source§impl<'a> FromIterator<&'a str> for CapsFeatures
impl<'a> FromIterator<&'a str> for CapsFeatures
source§impl FromIterator<Quark> for CapsFeatures
impl FromIterator<Quark> for CapsFeatures
source§impl FromIterator<String> for CapsFeatures
impl FromIterator<String> for CapsFeatures
source§impl FromStr for CapsFeatures
impl FromStr for CapsFeatures
source§impl<'a> FromValue<'a> for CapsFeatures
impl<'a> FromValue<'a> for CapsFeatures
§type Checker = GenericValueTypeOrNoneChecker<CapsFeatures>
type Checker = GenericValueTypeOrNoneChecker<CapsFeatures>
Value type checker.
source§unsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a
Value
. Read moresource§impl GlibPtrDefault for CapsFeatures
impl GlibPtrDefault for CapsFeatures
type GlibType = *mut GstCapsFeatures
source§impl IntoGlibPtr<*mut GstCapsFeatures> for CapsFeatures
impl IntoGlibPtr<*mut GstCapsFeatures> for CapsFeatures
source§unsafe fn into_glib_ptr(self) -> *mut GstCapsFeatures
unsafe fn into_glib_ptr(self) -> *mut GstCapsFeatures
Transfer: full.
source§impl Serialize for CapsFeatures
impl Serialize for CapsFeatures
source§impl StaticType for CapsFeatures
impl StaticType for CapsFeatures
source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.source§impl<'a> ToGlibPtr<'a, *const GstCapsFeatures> for CapsFeatures
impl<'a> ToGlibPtr<'a, *const GstCapsFeatures> for CapsFeatures
type Storage = &'a CapsFeatures
source§fn to_glib_none(&'a self) -> Stash<'a, *const GstCapsFeatures, Self>
fn to_glib_none(&'a self) -> Stash<'a, *const GstCapsFeatures, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *const GstCapsFeatures
fn to_glib_full(&self) -> *const GstCapsFeatures
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtr<'a, *mut GstCapsFeatures> for CapsFeatures
impl<'a> ToGlibPtr<'a, *mut GstCapsFeatures> for CapsFeatures
type Storage = &'a CapsFeatures
source§fn to_glib_none(&'a self) -> Stash<'a, *mut GstCapsFeatures, Self>
fn to_glib_none(&'a self) -> Stash<'a, *mut GstCapsFeatures, Self>
Transfer: none. Read more
source§fn to_glib_full(&self) -> *mut GstCapsFeatures
fn to_glib_full(&self) -> *mut GstCapsFeatures
Transfer: full. Read more
source§fn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
source§impl<'a> ToGlibPtrMut<'a, *mut GstCapsFeatures> for CapsFeatures
impl<'a> ToGlibPtrMut<'a, *mut GstCapsFeatures> for CapsFeatures
type Storage = &'a mut CapsFeatures
source§fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstCapsFeatures, Self>
fn to_glib_none_mut(&'a mut self) -> StashMut<'_, *mut GstCapsFeatures, Self>
Transfer: none. Read more
source§impl ToValue for CapsFeatures
impl ToValue for CapsFeatures
source§impl ToValueOptional for CapsFeatures
impl ToValueOptional for CapsFeatures
source§impl ValueType for CapsFeatures
impl ValueType for CapsFeatures
§type Type = CapsFeatures
type Type = CapsFeatures
Type to get the
Type
from. Read moreimpl Send for CapsFeatures
impl Sync for CapsFeatures
impl ValueTypeOptional for CapsFeatures
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> StaticTypeExt for Twhere
T: StaticType,
impl<T> StaticTypeExt for Twhere
T: StaticType,
source§fn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
source§impl<T> ToClosureReturnValue for Twhere
T: ToValue,
impl<T> ToClosureReturnValue for Twhere
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
source§impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.