Struct gst::Caps [] [src]

pub struct Caps {
    // some fields omitted
}

Methods

impl Caps
[src]

unsafe fn new(caps: *mut GstCaps, owned: bool) -> Option<Caps>

fn from_string(desc: &str) -> Option<Caps>

fn to_string(&self) -> &str

fn video_info(&self) -> Option<VideoInfo>

unsafe fn gst_caps(&self) -> *const GstCaps

unsafe fn gst_caps_mut(&mut self) -> *mut GstCaps

fn structure(&self, index: u32) -> Option<Structure>

Trait Implementations

impl Drop for Caps
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more

impl Transfer<GstCaps> for Caps
[src]

unsafe fn transfer(self) -> *mut GstCaps

Consumes the current object and transfers ownership of the raw pointer Used to transfer ownership to ffi functions, should be used when an ffi function expects full transfer of an object to avoid the original object to be unreferenced in the process Read more