Trait opencv::core::GpuMat_Allocator
source · [−]pub trait GpuMat_Allocator: GpuMat_AllocatorConst {
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
source