pub trait GpuMat_AllocatorTrait: GpuMat_AllocatorTraitConst {
    // Required method
    fn as_raw_mut_GpuMat_Allocator(&mut self) -> *mut c_void;

    // Provided methods
    fn allocate(
        &mut self,
        mat: &mut GpuMat,
        rows: i32,
        cols: i32,
        elem_size: size_t
    ) -> Result<bool> { ... }
    fn free(&mut self, mat: &mut GpuMat) -> Result<()> { ... }
}
Expand description

Mutable methods for core::GpuMat_Allocator

Required Methods§

Provided Methods§

source

fn allocate( &mut self, mat: &mut GpuMat, rows: i32, cols: i32, elem_size: size_t ) -> Result<bool>

source

fn free(&mut self, mat: &mut GpuMat) -> Result<()>

Implementors§