[][src]Trait gstreamer::meta::MetaAPI

pub unsafe trait MetaAPI: Sized {
    type GstType;
    fn get_meta_api() -> Type;

    unsafe fn from_ptr(
        buffer: &BufferRef,
        ptr: *const Self::GstType
    ) -> MetaRef<Self> { ... }
unsafe fn from_mut_ptr<T>(
        buffer: &mut BufferRef,
        ptr: *mut Self::GstType
    ) -> MetaRefMut<Self, T> { ... } }

Associated Types

type GstType

Loading content...

Required methods

fn get_meta_api() -> Type

Loading content...

Provided methods

unsafe fn from_ptr(
    buffer: &BufferRef,
    ptr: *const Self::GstType
) -> MetaRef<Self>

unsafe fn from_mut_ptr<T>(
    buffer: &mut BufferRef,
    ptr: *mut Self::GstType
) -> MetaRefMut<Self, T>

Loading content...

Implementors

impl MetaAPI for Meta[src]

type GstType = GstMeta

unsafe fn from_ptr(
    buffer: &BufferRef,
    ptr: *const Self::GstType
) -> MetaRef<Self>
[src]

unsafe fn from_mut_ptr<T>(
    buffer: &mut BufferRef,
    ptr: *mut Self::GstType
) -> MetaRefMut<Self, T>
[src]

impl MetaAPI for ParentBufferMeta[src]

type GstType = GstParentBufferMeta

unsafe fn from_ptr(
    buffer: &BufferRef,
    ptr: *const Self::GstType
) -> MetaRef<Self>
[src]

unsafe fn from_mut_ptr<T>(
    buffer: &mut BufferRef,
    ptr: *mut Self::GstType
) -> MetaRefMut<Self, T>
[src]

Loading content...