[][src]Trait gst::Transfer

pub trait Transfer<PtrType = GstElement> {
    unsafe fn transfer(self) -> *mut PtrType;
}

Required methods

unsafe fn transfer(self) -> *mut PtrType

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

Loading content...

Implementors

impl Transfer<Struct__GstSample> for Sample[src]

impl Transfer<Struct__GstBuffer> for Buffer[src]

impl Transfer<Struct__GstBufferPool> for BufferPool[src]

impl Transfer<Struct__GstCaps> for Caps[src]

impl Transfer<Struct__GstElement> for AppSink[src]

impl Transfer<Struct__GstElement> for AppSrc[src]

impl Transfer<Struct__GstElement> for Bin[src]

impl Transfer<Struct__GstElement> for Element[src]

impl Transfer<Struct__GstElement> for Pipeline[src]

impl Transfer<Struct__GstElement> for PlayBin[src]

impl Transfer<Struct__GstMessage> for Message[src]

impl Transfer<Struct__GstMiniObject> for MiniObject[src]

impl Transfer<Struct__GstObject> for Object[src]

impl Transfer<Struct__GstPad> for Pad[src]

Loading content...