pub trait MetaAPIExt: MetaAPI {
// 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> { ... }
}
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>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.