[][src]Trait gstreamer_base::prelude::MetaAPI

pub unsafe trait MetaAPI: Send + Sync {
    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...

Implementations on Foreign Types

impl MetaAPI for ParentBufferMeta[src]

type GstType = GstParentBufferMeta

impl MetaAPI for ReferenceTimestampMeta[src]

type GstType = GstReferenceTimestampMeta

impl MetaAPI for Meta[src]

type GstType = GstMeta

Loading content...

Implementors

Loading content...