pub trait BufferPoolTraitConst {
// Required method
fn as_raw_BufferPool(&self) -> *const c_void;
// Provided method
fn get_allocator(&self) -> Result<Ptr<GpuMat_Allocator>> { ... }
}Expand description
Constant methods for core::BufferPool
Required Methods§
fn as_raw_BufferPool(&self) -> *const c_void
Provided Methods§
Sourcefn get_allocator(&self) -> Result<Ptr<GpuMat_Allocator>>
fn get_allocator(&self) -> Result<Ptr<GpuMat_Allocator>>
Returns the allocator associated with the stream.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".