Struct gst::MiniObject [] [src]

pub struct MiniObject {
    // some fields omitted
}

Methods

impl MiniObject
[src]

unsafe fn new_from_gst_miniobject(miniobject: *mut GstMiniObject) -> Option<MiniObject>

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

fn make_writable(self) -> MiniObject

fn gst_miniobject(&self) -> *const GstMiniObject

fn gst_miniobject_mut(&mut self) -> *mut GstMiniObject

Trait Implementations

impl From<Caps> for MiniObject
[src]

fn from(b: Caps) -> MiniObject

Performs the conversion.

impl From<Buffer> for MiniObject
[src]

fn from(b: Buffer) -> MiniObject

Performs the conversion.

impl Drop for MiniObject
[src]

fn drop(&mut self)

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

impl Clone for MiniObject
[src]

fn clone(&self) -> MiniObject

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Transfer<GstMiniObject> for MiniObject
[src]

unsafe fn transfer(self) -> *mut GstMiniObject

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