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 video_info(&self) -> Option<VideoInfo>
unsafe fn gst_caps(&self) -> *const GstCaps
unsafe fn gst_caps_mut(&mut self) -> *mut GstCaps
Trait Implementations
impl Drop for Caps
[src]
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