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