[][src]Trait opencv::hub_prelude::GpuMat_Allocator

pub trait GpuMat_Allocator {
    pub fn as_raw_GpuMat_Allocator(&self) -> *const c_void;
pub fn as_raw_mut_GpuMat_Allocator(&mut self) -> *mut c_void; pub fn allocate(
        &mut self,
        mat: &mut GpuMat,
        rows: i32,
        cols: i32,
        elem_size: size_t
    ) -> Result<bool> { ... }
pub fn free(&mut self, mat: &mut GpuMat) -> Result<()> { ... } }

Required methods

Loading content...

Provided methods

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

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

Loading content...

Implementors

Loading content...