[][src]Struct gstreamer::caps::Caps

pub struct Caps { /* fields omitted */ }

Implementations

impl Caps[src]

pub unsafe fn from_glib_none(ptr: *const GstCaps) -> Self[src]

pub unsafe fn from_glib_full(ptr: *const GstCaps) -> Self[src]

pub unsafe fn from_glib_borrow(ptr: *const GstCaps) -> Borrowed<Self>[src]

pub unsafe fn replace_ptr(&mut self, ptr: *mut GstCaps)[src]

pub fn make_mut(&mut self) -> &mut CapsRef[src]

pub fn get_mut(&mut self) -> Option<&mut CapsRef>[src]

pub fn is_writable(&self) -> bool[src]

pub unsafe fn into_ptr(self) -> *mut GstCaps[src]

impl Caps[src]

pub fn builder(name: &str) -> Builder<NoFeature>[src]

pub fn builder_full() -> BuilderFull<SomeFeatures>[src]

pub fn builder_full_with_features(
    features: CapsFeatures
) -> BuilderFull<SomeFeatures>
[src]

pub fn builder_full_with_any_features() -> BuilderFull<AnyFeatures>[src]

pub fn new_empty() -> Self[src]

pub fn new_any() -> Self[src]

pub fn new_simple(name: &str, values: &[(&str, &dyn ToSendValue)]) -> Self[src]

pub fn from_iter<'a, I>(iter: I) -> Self where
    I: IntoIterator<Item = &'a StructureRef>, 
[src]

pub fn from_iter_with_features<'a, 'b, I>(iter: I) -> Self where
    I: IntoIterator<Item = (&'a StructureRef, &'b CapsFeaturesRef)>, 
[src]

pub fn fixate(&mut self)[src]

pub fn merge(&mut self, other: Self)[src]

pub fn merge_structure(&mut self, structure: Structure)[src]

pub fn merge_structure_full(
    &mut self,
    structure: Structure,
    features: Option<CapsFeatures>
)
[src]

pub fn normalize(&mut self)[src]

pub fn simplify(&mut self)[src]

pub fn truncate(&mut self)[src]

Methods from Deref<Target = CapsRef>

pub unsafe fn as_ptr(&self) -> *const GstCaps[src]

pub unsafe fn as_mut_ptr(&self) -> *mut GstCaps[src]

pub fn copy(&self) -> Caps[src]

pub fn get_structure(&self, idx: u32) -> Option<&StructureRef>[src]

pub fn get_features(&self, idx: u32) -> Option<&CapsFeaturesRef>[src]

pub fn get_size(&self) -> u32[src]

pub fn iter(&self) -> Iter<'_>

Notable traits for Iter<'a>

impl<'a> Iterator for Iter<'a> type Item = &'a StructureRef;
[src]

pub fn iter_with_features(&self) -> IterFeatures<'_>

Notable traits for IterFeatures<'a>

impl<'a> Iterator for IterFeatures<'a> type Item = (&'a StructureRef, &'a CapsFeaturesRef);
[src]

pub fn can_intersect(&self, other: &Self) -> bool[src]

pub fn intersect(&self, other: &Self) -> Caps[src]

pub fn intersect_with_mode(&self, other: &Self, mode: CapsIntersectMode) -> Caps[src]

pub fn is_always_compatible(&self, other: &Self) -> bool[src]

pub fn is_any(&self) -> bool[src]

pub fn is_empty(&self) -> bool[src]

pub fn is_fixed(&self) -> bool[src]

pub fn is_equal_fixed(&self, other: &Self) -> bool[src]

pub fn is_strictly_equal(&self, other: &Self) -> bool[src]

pub fn is_subset(&self, superset: &Self) -> bool[src]

pub fn is_subset_structure(&self, structure: &StructureRef) -> bool[src]

pub fn is_subset_structure_full(
    &self,
    structure: &StructureRef,
    features: Option<&CapsFeaturesRef>
) -> bool
[src]

pub fn subtract(&self, other: &Self) -> Caps[src]

Trait Implementations

impl AsRef<CapsRef> for Caps[src]

impl Borrow<CapsRef> for Caps[src]

impl Clone for Caps[src]

impl Debug for Caps[src]

impl Deref for Caps[src]

type Target = CapsRef

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for Caps[src]

impl Display for Caps[src]

impl Drop for Caps[src]

impl Eq for Caps[src]

impl FromGlibContainerAsVec<*mut GstCaps, *const *mut GstCaps> for Caps[src]

impl FromGlibContainerAsVec<*mut GstCaps, *mut *mut GstCaps> for Caps[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstCaps, *const *mut GstCaps> for Caps[src]

impl FromGlibPtrArrayContainerAsVec<*mut GstCaps, *mut *mut GstCaps> for Caps[src]

impl FromGlibPtrBorrow<*const GstCaps> for Caps[src]

impl FromGlibPtrBorrow<*mut GstCaps> for Caps[src]

impl FromGlibPtrFull<*const GstCaps> for Caps[src]

impl FromGlibPtrFull<*mut GstCaps> for Caps[src]

impl FromGlibPtrNone<*const GstCaps> for Caps[src]

impl FromGlibPtrNone<*mut GstCaps> for Caps[src]

impl FromStr for Caps[src]

type Err = BoolError

The associated error which can be returned from parsing.

impl<'a> FromValueOptional<'a> for Caps[src]

impl GlibPtrDefault for Caps[src]

impl PartialEq<Caps> for Caps[src]

impl Send for Caps[src]

impl Serialize for Caps[src]

impl SetValue for Caps[src]

impl SetValueOptional for Caps[src]

impl StaticType for Caps[src]

impl Sync for Caps[src]

impl<'a> ToGlibContainerFromSlice<'a, *const *mut GstCaps> for Caps[src]

impl<'a> ToGlibContainerFromSlice<'a, *mut *mut GstCaps> for Caps[src]

impl<'a> ToGlibPtr<'a, *const GstCaps> for Caps[src]

type Storage = &'a Self

impl<'a> ToGlibPtr<'a, *mut GstCaps> for Caps[src]

type Storage = &'a Self

impl<'a> ToGlibPtrMut<'a, *mut GstCaps> for Caps[src]

type Storage = &'a mut Self

Auto Trait Implementations

impl RefUnwindSafe for Caps

impl Unpin for Caps

impl UnwindSafe for Caps

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<'a, T> ToGlibContainerFromSlice<'a, *const GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *const GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GList> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<'a, T> ToGlibContainerFromSlice<'a, *mut GPtrArray> for T where
    T: GlibPtrDefault + ToGlibPtr<'a, <T as GlibPtrDefault>::GlibType>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

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

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

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.

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.