Trait gstreamer::subclass::allocator::AllocatorImpl

source ·
pub trait AllocatorImpl:
    AllocatorImplExt
    + GstObjectImpl
    + Send
    + Sync {
    // 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)

Object Safety§

This trait is not object safe.

Implementors§