[][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 ProtectionMeta[src]

type GstType = GstProtectionMeta

impl MetaAPI for Meta[src]

type GstType = GstMeta

impl MetaAPI for ReferenceTimestampMeta[src]

type GstType = GstReferenceTimestampMeta

Loading content...

Implementors

Loading content...