#[repr(C)]pub struct CapsRef(_);
Implementations
sourceimpl CapsRef
impl CapsRef
pub fn set_simple(&mut self, values: &[(&str, &dyn ToSendValue)])
pub fn to_string(&self) -> String
pub fn get_structure(&self, idx: u32) -> Option<&StructureRef>
pub fn get_mut_structure(&mut self, idx: u32) -> Option<&mut StructureRef>
pub fn get_size(&self) -> u32
pub fn iter(&self) -> Iter<'_>ⓘNotable traits for Iter<'a>impl<'a> Iterator for Iter<'a> type Item = &'a StructureRef;
pub fn iter_mut(&mut self) -> IterMut<'_>ⓘNotable traits for IterMut<'a>impl<'a> Iterator for IterMut<'a> type Item = &'a mut StructureRef;
pub fn append_structure(&mut self, structure: Structure)
pub fn remove_structure(&mut self, idx: u32)
pub fn append(&mut self, other: Caps)
pub fn can_intersect(&self, other: &Self) -> bool
pub fn intersect(&self, other: &Self) -> Caps
pub fn intersect_with_mode(&self, other: &Self, mode: CapsIntersectMode) -> Caps
pub fn is_always_compatible(&self, other: &Self) -> bool
pub fn is_any(&self) -> bool
pub fn is_empty(&self) -> bool
pub fn is_fixed(&self) -> bool
pub fn is_equal_fixed(&self, other: &Self) -> bool
pub fn is_strictly_equal(&self, other: &Self) -> bool
pub fn is_subset(&self, superset: &Self) -> bool
pub fn is_subset_structure(&self, structure: &StructureRef) -> bool
pub fn subtract(&self, other: &Self) -> Caps
Trait Implementations
sourceimpl MiniObject for CapsRef
impl MiniObject for CapsRef
type GstType = GstCaps
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
sourceimpl StaticType for CapsRef
impl StaticType for CapsRef
sourcefn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.sourceimpl ToOwned for CapsRef
impl ToOwned for CapsRef
impl Eq for CapsRef
impl Send for CapsRef
impl Sync for CapsRef
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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