Trait BufferPoolTrait

Source
pub trait BufferPoolTrait: BufferPoolTraitConst {
    // Required method
    fn as_raw_mut_BufferPool(&mut self) -> *mut c_void;

    // Provided methods
    fn get_buffer(&mut self, rows: i32, cols: i32, typ: i32) -> Result<GpuMat> { ... }
    fn get_buffer_1(&mut self, size: Size, typ: i32) -> Result<GpuMat> { ... }
}
Expand description

Mutable methods for core::BufferPool

Required Methods§

Provided Methods§

Source

fn get_buffer(&mut self, rows: i32, cols: i32, typ: i32) -> Result<GpuMat>

Allocates a new GpuMat of given size and type.

Source

fn get_buffer_1(&mut self, size: Size, typ: i32) -> Result<GpuMat>

Allocates a new GpuMat of given size and type.

Implementors§