Skip to main content

BufferPoolTraitConst

Trait BufferPoolTraitConst 

Source
pub trait BufferPoolTraitConst {
    // Required method
    fn as_raw_BufferPool(&self) -> *const c_void;

    // Provided method
    fn get_allocator(&self) -> Result<Ptr<GpuMat_Allocator>> { ... }
}
Expand description

Constant methods for core::BufferPool

Required Methods§

Provided Methods§

Source

fn get_allocator(&self) -> Result<Ptr<GpuMat_Allocator>>

Returns the allocator associated with the stream.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§