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