Struct gstreamer::caps::CapsRef
[−]
[src]
#[repr(C)]pub struct CapsRef(_);
Methods
impl CapsRef
[src]
fn set_simple(&mut self, values: &[(&str, &ToSendValue)])
[src]
fn to_string(&self) -> String
[src]
fn get_structure(&self, idx: u32) -> Option<&StructureRef>
[src]
fn get_mut_structure(&mut self, idx: u32) -> Option<&mut StructureRef>
[src]
fn get_size(&self) -> u32
[src]
fn iter(&self) -> Iter
[src]
fn iter_mut(&mut self) -> IterMut
[src]
fn append_structure(&mut self, structure: Structure)
[src]
fn remove_structure(&mut self, idx: u32)
[src]
fn append(&mut self, other: Caps)
[src]
fn can_intersect(&self, other: &Caps) -> bool
[src]
fn intersect(&self, other: &Caps) -> Caps
[src]
fn intersect_with_mode(&self, other: &Caps, mode: CapsIntersectMode) -> Caps
[src]
fn is_always_compatible(&self, other: &Caps) -> bool
[src]
fn is_any(&self) -> bool
[src]
fn is_empty(&self) -> bool
[src]
fn is_fixed(&self) -> bool
[src]
fn is_equal_fixed(&self, other: &Caps) -> bool
[src]
fn is_strictly_equal(&self, other: &Caps) -> bool
[src]
fn is_subset(&self, superset: &Caps) -> bool
[src]
fn is_subset_structure(&self, structure: &StructureRef) -> bool
[src]
Trait Implementations
impl MiniObject for CapsRef
[src]
type GstType = GstCaps
unsafe fn as_ptr(&self) -> *const Self::GstType
[src]
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
[src]
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
[src]
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
[src]
fn copy(&self) -> GstRc<Self>
[src]
impl StaticType for CapsRef
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.
impl Debug for CapsRef
[src]
impl Display for CapsRef
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for CapsRef
[src]
fn eq(&self, other: &CapsRef) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Eq for CapsRef
[src]
impl ToOwned for CapsRef
[src]
type Owned = GstRc<CapsRef>
fn to_owned(&self) -> GstRc<CapsRef>
[src]
Creates owned data from borrowed data, usually by cloning. Read more
fn clone_into(&self, target: &mut Self::Owned)
[src]
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more