[][src]Trait gstreamer::miniobject::MiniObject

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

Loading content...

Provided methods

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>

Loading content...

Implementors

impl MiniObject for BufferRef[src]

type GstType = GstBuffer

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for BufferListRef[src]

type GstType = GstBufferList

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for CapsRef[src]

type GstType = GstCaps

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for ContextRef[src]

type GstType = GstContext

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for EventRef[src]

type GstType = GstEvent

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for MemoryRef[src]

type GstType = GstMemory

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for MessageRef[src]

type GstType = GstMessage

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for QueryRef[src]

type GstType = GstQuery

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for SampleRef[src]

type GstType = GstSample

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for TagListRef[src]

type GstType = GstTagList

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for TocEntryRef[src]

type GstType = GstTocEntry

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

impl MiniObject for TocRef[src]

type GstType = GstToc

unsafe fn as_ptr(&self) -> *const Self::GstType[src]

unsafe fn as_mut_ptr(&self) -> *mut Self::GstType[src]

unsafe fn from_ptr<'a>(ptr: *const Self::GstType) -> &'a Self[src]

unsafe fn from_mut_ptr<'a>(ptr: *mut Self::GstType) -> &'a mut Self[src]

fn copy(&self) -> GstRc<Self>[src]

Loading content...