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> { ... }
}
Required Associated Types
Required Methods
Provided Methods
unsafe fn from_mut_ptr<T>(
buffer: &mut BufferRef,
ptr: *mut Self::GstType
) -> MetaRefMut<'_, Self, T>
Implementors
sourceimpl MetaAPI for ParentBufferMeta
impl MetaAPI for ParentBufferMeta
type GstType = GstParentBufferMeta
sourceimpl MetaAPI for ProtectionMeta
impl MetaAPI for ProtectionMeta
type GstType = GstProtectionMeta
sourceimpl MetaAPI for ReferenceTimestampMeta
Available on crate feature v1_14
only.
impl MetaAPI for ReferenceTimestampMeta
Available on crate feature
v1_14
only.