pub struct OpenCVAllocator;
Expand description
OpenCV memory allocator
Trait Implementations§
Source§impl GlobalAlloc for OpenCVAllocator
impl GlobalAlloc for OpenCVAllocator
Source§unsafe fn alloc(&self, layout: Layout) -> *mut u8
unsafe fn alloc(&self, layout: Layout) -> *mut u8
Allocates memory as described by the given
layout
. Read moreAuto Trait Implementations§
impl Freeze for OpenCVAllocator
impl RefUnwindSafe for OpenCVAllocator
impl Send for OpenCVAllocator
impl Sync for OpenCVAllocator
impl Unpin for OpenCVAllocator
impl UnwindSafe for OpenCVAllocator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more