Struct gstreamer::CapsFeatures
source · [−]#[repr(transparent)]pub struct CapsFeatures(_);
Implementations
sourceimpl CapsFeatures
impl CapsFeatures
Methods from Deref<Target = CapsFeaturesRef>
pub unsafe fn as_ptr(&self) -> *const GstCapsFeatures
pub unsafe 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
sourceimpl AsMut<CapsFeaturesRef> for CapsFeatures
impl AsMut<CapsFeaturesRef> for CapsFeatures
sourcefn as_mut(&mut self) -> &mut CapsFeaturesRef
fn as_mut(&mut self) -> &mut CapsFeaturesRef
Performs the conversion.
sourceimpl AsRef<CapsFeaturesRef> for CapsFeatures
impl AsRef<CapsFeaturesRef> for CapsFeatures
sourcefn as_ref(&self) -> &CapsFeaturesRef
fn as_ref(&self) -> &CapsFeaturesRef
Performs the conversion.
sourceimpl Borrow<CapsFeaturesRef> for CapsFeatures
impl Borrow<CapsFeaturesRef> for CapsFeatures
sourcefn borrow(&self) -> &CapsFeaturesRef
fn borrow(&self) -> &CapsFeaturesRef
Immutably borrows from an owned value. Read more
sourceimpl BorrowMut<CapsFeaturesRef> for CapsFeatures
impl BorrowMut<CapsFeaturesRef> for CapsFeatures
sourcefn borrow_mut(&mut self) -> &mut CapsFeaturesRef
fn borrow_mut(&mut self) -> &mut CapsFeaturesRef
Mutably borrows from an owned value. Read more
sourceimpl Clone for CapsFeatures
impl Clone for CapsFeatures
sourceimpl Debug for CapsFeatures
impl Debug for CapsFeatures
sourceimpl Deref for CapsFeatures
impl Deref for CapsFeatures
type Target = CapsFeaturesRef
type Target = CapsFeaturesRef
The resulting type after dereferencing.
sourcefn deref(&self) -> &CapsFeaturesRef
fn deref(&self) -> &CapsFeaturesRef
Dereferences the value.
sourceimpl DerefMut for CapsFeatures
impl DerefMut for CapsFeatures
sourcefn deref_mut(&mut self) -> &mut CapsFeaturesRef
fn deref_mut(&mut self) -> &mut CapsFeaturesRef
Mutably dereferences the value.
sourceimpl<'de> Deserialize<'de> for CapsFeatures
impl<'de> Deserialize<'de> for CapsFeatures
sourcefn 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
sourceimpl Display for CapsFeatures
impl Display for CapsFeatures
sourceimpl Drop for CapsFeatures
impl Drop for CapsFeatures
sourceimpl FromGlibPtrFull<*const GstCapsFeatures> for CapsFeatures
impl FromGlibPtrFull<*const GstCapsFeatures> for CapsFeatures
sourceunsafe fn from_glib_full(ptr: *const GstCapsFeatures) -> Self
unsafe fn from_glib_full(ptr: *const GstCapsFeatures) -> Self
Safety Read more
sourceimpl FromGlibPtrFull<*mut GstCapsFeatures> for CapsFeatures
impl FromGlibPtrFull<*mut GstCapsFeatures> for CapsFeatures
sourceunsafe fn from_glib_full(ptr: *mut GstCapsFeatures) -> Self
unsafe fn from_glib_full(ptr: *mut GstCapsFeatures) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*const GstCapsFeatures> for CapsFeatures
impl FromGlibPtrNone<*const GstCapsFeatures> for CapsFeatures
sourceunsafe fn from_glib_none(ptr: *const GstCapsFeatures) -> Self
unsafe fn from_glib_none(ptr: *const GstCapsFeatures) -> Self
Safety Read more
sourceimpl FromGlibPtrNone<*mut GstCapsFeatures> for CapsFeatures
impl FromGlibPtrNone<*mut GstCapsFeatures> for CapsFeatures
sourceunsafe fn from_glib_none(ptr: *mut GstCapsFeatures) -> Self
unsafe fn from_glib_none(ptr: *mut GstCapsFeatures) -> Self
Safety Read more
sourceimpl<'a> FromIterator<&'a str> for CapsFeatures
impl<'a> FromIterator<&'a str> for CapsFeatures
sourcefn from_iter<T: IntoIterator<Item = &'a str>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = &'a str>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl FromIterator<Quark> for CapsFeatures
impl FromIterator<Quark> for CapsFeatures
sourcefn from_iter<T: IntoIterator<Item = Quark>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = Quark>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl FromIterator<String> for CapsFeatures
impl FromIterator<String> for CapsFeatures
sourcefn from_iter<T: IntoIterator<Item = String>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = String>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl FromStr for CapsFeatures
impl FromStr for CapsFeatures
sourceimpl<'a> FromValue<'a> for CapsFeatures
impl<'a> FromValue<'a> for CapsFeatures
type Checker = GenericValueTypeOrNoneChecker<Self>
type Checker = GenericValueTypeOrNoneChecker<Self>
Value type checker.
sourceunsafe fn from_value(value: &'a Value) -> Self
unsafe fn from_value(value: &'a Value) -> Self
Get the contained value from a Value
. Read more
sourceimpl GlibPtrDefault for CapsFeatures
impl GlibPtrDefault for CapsFeatures
type GlibType = *mut GstCapsFeatures
sourceimpl Serialize for CapsFeatures
impl Serialize for CapsFeatures
sourceimpl StaticType for CapsFeatures
impl StaticType for CapsFeatures
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of Self
.
sourceimpl<'a> ToGlibPtr<'a, *const GstCapsFeatures> for CapsFeatures
impl<'a> ToGlibPtr<'a, *const GstCapsFeatures> for CapsFeatures
type Storage = &'a Self
sourcefn 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
sourcefn to_glib_full(&self) -> *const GstCapsFeatures
fn to_glib_full(&self) -> *const GstCapsFeatures
Transfer: full. Read more
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourceimpl<'a> ToGlibPtr<'a, *mut GstCapsFeatures> for CapsFeatures
impl<'a> ToGlibPtr<'a, *mut GstCapsFeatures> for CapsFeatures
type Storage = &'a Self
sourcefn 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
sourcefn to_glib_full(&self) -> *mut GstCapsFeatures
fn to_glib_full(&self) -> *mut GstCapsFeatures
Transfer: full. Read more
sourcefn to_glib_container(&'a self) -> Stash<'a, P, Self>
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
sourceimpl<'a> ToGlibPtrMut<'a, *mut GstCapsFeatures> for CapsFeatures
impl<'a> ToGlibPtrMut<'a, *mut GstCapsFeatures> for CapsFeatures
type Storage = &'a mut Self
sourcefn 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
sourceimpl ToValue for CapsFeatures
impl ToValue for CapsFeatures
sourceimpl ToValueOptional for CapsFeatures
impl ToValueOptional for CapsFeatures
sourcefn to_value_optional(s: Option<&Self>) -> Value
fn to_value_optional(s: Option<&Self>) -> Value
Convert an Option
to a Value
.
sourceimpl ValueType for CapsFeatures
impl ValueType for CapsFeatures
impl Send for CapsFeatures
impl Sync for CapsFeatures
impl ValueTypeOptional for CapsFeatures
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> StaticTypeExt for T where
T: StaticType,
impl<T> StaticTypeExt for T where
T: StaticType,
sourcefn ensure_type()
fn ensure_type()
Ensures that the type has been registered with the type system.
sourceimpl<T> ToClosureReturnValue for T where
T: ToValue,
impl<T> ToClosureReturnValue for T where
T: ToValue,
fn to_closure_return_value(&self) -> Option<Value>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for T where
T: Send + ToValue + ?Sized,
sourcefn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a SendValue
clone of self
.