[][src]Struct gst::Caps

pub struct Caps { /* fields omitted */ }

Methods

impl Caps[src]

pub unsafe fn new(caps: *mut GstCaps) -> Option<Caps>[src]

pub fn new_empty() -> Caps[src]

pub fn new_empty_simple(media_type: &str) -> Caps[src]

pub fn new_any() -> Caps[src]

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

pub fn from_string(desc: &str) -> Option<Caps>[src]

pub fn to_string(&self) -> &str[src]

pub fn video_info(&self) -> Option<VideoInfo>[src]

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

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

pub fn structure(&self, index: u32) -> Option<Structure>[src]

Methods from Deref<Target = MiniObject>

pub fn lock<F: FnMut(&mut MiniObject)>(
    &mut self,
    flags: &[LockFlags],
    f: F
) -> bool
[src]

pub fn gst_miniobject(&self) -> *const GstMiniObject[src]

pub fn gst_miniobject_mut(&mut self) -> *mut GstMiniObject[src]

Trait Implementations

impl Transfer<Struct__GstCaps> for Caps[src]

impl AsMut<MiniObject> for Caps[src]

impl PartialEq<Caps> for Caps[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl AsRef<MiniObject> for Caps[src]

impl Clone for Caps[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl From<Caps> for MiniObject[src]

impl Eq for Caps[src]

impl Deref for Caps[src]

type Target = MiniObject

The resulting type after dereferencing.

impl DerefMut for Caps[src]

Auto Trait Implementations

impl !Send for Caps

impl !Sync for Caps

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.