[][src]Trait opencv::core::GpuMat_Allocator

pub trait GpuMat_Allocator {
    fn as_raw_GpuMat_Allocator(&self) -> *const c_void;
fn as_raw_mut_GpuMat_Allocator(&mut self) -> *mut c_void; 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<()> { ... } }

Required methods

Loading content...

Provided methods

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

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

Loading content...

Implementors

Loading content...