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

pub unsafe trait MetaAPI: Sync + Send + Sized {
    type GstType;
    fn 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[src]

Loading content...

Required methods

fn meta_api() -> Type[src]

Loading content...

Provided methods

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...

Implementors

impl MetaAPI for Meta[src]

type GstType = GstMeta

fn meta_api() -> Type[src]

impl MetaAPI for ParentBufferMeta[src]

type GstType = GstParentBufferMeta

fn meta_api() -> Type[src]

impl MetaAPI for ProtectionMeta[src]

type GstType = GstProtectionMeta

fn meta_api() -> Type[src]

impl MetaAPI for ReferenceTimestampMeta[src]

This is supported on crate feature v1_14 only.

type GstType = GstReferenceTimestampMeta

fn meta_api() -> Type[src]

Loading content...