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

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

impl MetaAPI for ParentBufferMeta[src]

type GstType = GstParentBufferMeta

impl MetaAPI for ProtectionMeta[src]

type GstType = GstProtectionMeta

impl MetaAPI for ReferenceTimestampMeta[src]

type GstType = GstReferenceTimestampMeta

Loading content...