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 AppSinkimpl Transfer for AppSrcimpl Transfer<GstSample> for Sampleimpl Transfer<GstCaps> for Capsimpl Transfer<GstBuffer> for Bufferimpl Transfer for Elementimpl Transfer for Binimpl Transfer for Pipelineimpl Transfer for PlayBinimpl Transfer<GstMessage> for Messageimpl Transfer<GstBufferPool> for BufferPoolimpl Transfer<GstPad> for Padimpl Transfer<GstMiniObject> for MiniObjectimpl Transfer<GstObject> for Object