pub unsafe trait AllocatorImpl: GstObjectImpl + ObjectSubclass<Type: IsA<Allocator>> {
// Provided methods
unsafe fn alloc(
&self,
size: usize,
params: &AllocationParams,
) -> *mut GstMemory { ... }
unsafe fn free(&self, memory: *mut GstMemory) { ... }
}Provided Methods§
unsafe fn alloc(&self, size: usize, params: &AllocationParams) -> *mut GstMemory
unsafe fn free(&self, memory: *mut GstMemory)
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.