[−][src]Trait opencv::dnn::prelude::BackendWrapper
Derivatives of this class wraps cv::Mat for different backends and targets.
Required methods
fn as_raw_BackendWrapper(&self) -> *const c_void
fn as_raw_mut_BackendWrapper(&mut self) -> *mut c_void
Provided methods
fn backend_id(&self) -> i32
Backend identifier.
fn set_backend_id(&mut self, val: i32)
Backend identifier.
fn target_id(&self) -> i32
Target identifier.
fn set_target_id(&mut self, val: i32)
Target identifier.
fn copy_to_host(&mut self) -> Result<()>
Transfer data to CPU host memory.
fn set_host_dirty(&mut self) -> Result<()>
Indicate that an actual data is on CPU.