Trait gstreamer::miniobject::MiniObject [−][src]
pub unsafe trait MiniObject where
Self: Sized, { type GstType; unsafe fn as_ptr(&self) -> *const Self::GstType { ... } unsafe fn as_mut_ptr(&self) -> *mut Self::GstType { ... } unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self { ... } unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self { ... } fn copy(&self) -> GstRc<Self> { ... } }
Associated Types
type GstType
Provided Methods
unsafe fn as_ptr(&self) -> *const Self::GstType
unsafe fn as_mut_ptr(&self) -> *mut Self::GstType
ⓘImportant traits for &'a mut R
unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self
ⓘImportant traits for &'a mut R
unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self
fn copy(&self) -> GstRc<Self>
Implementors
impl MiniObject for MessageRef type GstType = GstMessage;impl MiniObject for CapsRef type GstType = GstCaps;impl MiniObject for TagListRef type GstType = GstTagList;impl MiniObject for BufferRef type GstType = GstBuffer;impl MiniObject for SampleRef type GstType = GstSample;impl MiniObject for BufferListRef type GstType = GstBufferList;impl MiniObject for QueryRef type GstType = GstQuery;impl MiniObject for EventRef type GstType = GstEvent;impl MiniObject for ContextRef type GstType = GstContext;impl MiniObject for TocRef type GstType = GstToc;impl MiniObject for TocEntryRef type GstType = GstTocEntry;