AllocatorImpl

Trait AllocatorImpl 

Source
pub trait AllocatorImpl: GstObjectImpl + ObjectSubclass<Type: IsA<Allocator>> {
    // Provided methods
    fn alloc(
        &self,
        size: usize,
        params: Option<&AllocationParams>,
    ) -> Result<Memory, BoolError> { ... }
    fn free(&self, memory: Memory) { ... }
}

Provided Methods§

Source

fn alloc( &self, size: usize, params: Option<&AllocationParams>, ) -> Result<Memory, BoolError>

Source

fn free(&self, memory: Memory)

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.

Implementors§