Trait gst::Transfer [−][src]
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
Implementors
impl Transfer for AppSink
impl Transfer for AppSrc
impl Transfer<GstSample> for Sample
impl Transfer<GstCaps> for Caps
impl Transfer<GstBuffer> for Buffer
impl Transfer for Element
impl Transfer for Bin
impl Transfer for Pipeline
impl Transfer for PlayBin
impl Transfer<GstMessage> for Message
impl Transfer<GstBufferPool> for BufferPool
impl Transfer<GstPad> for Pad
impl Transfer<GstMiniObject> for MiniObject
impl Transfer<GstObject> for Object