[−][src]Struct gstreamer::CapsFeatures
Implementations
impl CapsFeatures[src]
pub fn new(features: &[&str]) -> Self[src]
pub fn new_empty() -> Self[src]
pub fn new_any() -> Self[src]
pub unsafe fn into_ptr(self) -> *mut GstCapsFeatures[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 get_size(&self) -> u32[src]
pub fn get_nth(&self, idx: u32) -> Option<&str>[src]
pub fn add(&mut self, feature: &str)[src]
pub fn remove(&mut self, feature: &str)[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]
impl AsRef<CapsFeaturesRef> for CapsFeatures[src]
fn as_ref(&self) -> &CapsFeaturesRef[src]
impl Borrow<CapsFeaturesRef> for CapsFeatures[src]
fn borrow(&self) -> &CapsFeaturesRef[src]
impl BorrowMut<CapsFeaturesRef> for CapsFeatures[src]
fn borrow_mut(&mut self) -> &mut CapsFeaturesRef[src]
impl Clone for CapsFeatures[src]
fn clone(&self) -> Self[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for CapsFeatures[src]
impl Deref for CapsFeatures[src]
type Target = CapsFeaturesRef
The resulting type after dereferencing.
fn deref(&self) -> &CapsFeaturesRef[src]
impl DerefMut for CapsFeatures[src]
fn deref_mut(&mut self) -> &mut CapsFeaturesRef[src]
impl<'de> Deserialize<'de> for CapsFeatures[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>[src]
impl Display for CapsFeatures[src]
impl Drop for CapsFeatures[src]
impl FromGlibPtrFull<*const GstCapsFeatures> for CapsFeatures[src]
unsafe fn from_glib_full(ptr: *const GstCapsFeatures) -> Self[src]
impl FromGlibPtrFull<*mut GstCapsFeatures> for CapsFeatures[src]
unsafe fn from_glib_full(ptr: *mut GstCapsFeatures) -> Self[src]
impl FromGlibPtrNone<*const GstCapsFeatures> for CapsFeatures[src]
unsafe fn from_glib_none(ptr: *const GstCapsFeatures) -> Self[src]
impl FromGlibPtrNone<*mut GstCapsFeatures> for CapsFeatures[src]
unsafe fn from_glib_none(ptr: *mut GstCapsFeatures) -> Self[src]
impl FromStr for CapsFeatures[src]
type Err = BoolError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, BoolError>[src]
impl<'a> FromValueOptional<'a> for CapsFeatures[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>[src]
impl GlibPtrDefault for CapsFeatures[src]
impl Send for CapsFeatures[src]
impl Serialize for CapsFeatures[src]
impl SetValue for CapsFeatures[src]
impl SetValueOptional for CapsFeatures[src]
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)[src]
impl StaticType for CapsFeatures[src]
fn static_type() -> Type[src]
impl Sync 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_full(&self) -> *const GstCapsFeatures[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[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_full(&self) -> *mut GstCapsFeatures[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>[src]
impl<'a> ToGlibPtrMut<'a, *mut GstCapsFeatures> for CapsFeatures[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, [src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)[src]
t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)[src]
_t: &'a [T]
) -> (*const GList, <T as ToGlibContainerFromSlice<'a, *const GList>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GList[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, [src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)[src]
t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_container_from_slice(
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)[src]
_t: &'a [T]
) -> (*const GPtrArray, <T as ToGlibContainerFromSlice<'a, *const GPtrArray>>::Storage)
fn to_glib_full_from_slice(_t: &[T]) -> *const GPtrArray[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, [src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<Array>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)[src]
t: &'a [T]
) -> (*mut GArray, <T as ToGlibContainerFromSlice<'a, *mut GArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GArray[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, [src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<List>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)[src]
t: &'a [T]
) -> (*mut GList, <T as ToGlibContainerFromSlice<'a, *mut GList>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GList[src]
impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, [src]
T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>,
type Storage = (Option<PtrArray>, Vec<Stash<'a, <T as GlibPtrDefault>::GlibType, T>>)
fn to_glib_none_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_container_from_slice(
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)[src]
t: &'a [T]
) -> (*mut GPtrArray, <T as ToGlibContainerFromSlice<'a, *mut GPtrArray>>::Storage)
fn to_glib_full_from_slice(t: &[T]) -> *mut GPtrArray[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T> ToSendValue for T where
T: ToValue + SetValue + Send + ?Sized, [src]
T: ToValue + SetValue + Send + ?Sized,
fn to_send_value(&self) -> SendValue[src]
impl<T> ToString for T where
T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T> ToValue for T where
T: SetValue + ?Sized, [src]
T: SetValue + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,