Struct opencv::dnn::BackendWrapper
source · pub struct BackendWrapper { /* private fields */ }
Expand description
Derivatives of this class wraps cv::Mat for different backends and targets.
Trait Implementations§
source§impl BackendWrapperTrait for BackendWrapper
impl BackendWrapperTrait for BackendWrapper
fn as_raw_mut_BackendWrapper(&mut self) -> *mut c_void
source§fn set_backend_id(&mut self, val: i32)
fn set_backend_id(&mut self, val: i32)
Backend identifier.
source§fn set_target_id(&mut self, val: i32)
fn set_target_id(&mut self, val: i32)
Target identifier.
source§fn copy_to_host(&mut self) -> Result<()>
fn copy_to_host(&mut self) -> Result<()>
Transfer data to CPU host memory.
source§fn set_host_dirty(&mut self) -> Result<()>
fn set_host_dirty(&mut self) -> Result<()>
Indicate that an actual data is on CPU.
source§impl Boxed for BackendWrapper
impl Boxed for BackendWrapper
source§impl Debug for BackendWrapper
impl Debug for BackendWrapper
source§impl Drop for BackendWrapper
impl Drop for BackendWrapper
impl Send for BackendWrapper
Auto Trait Implementations§
impl RefUnwindSafe for BackendWrapper
impl !Sync for BackendWrapper
impl Unpin for BackendWrapper
impl UnwindSafe for BackendWrapper
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