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