[][src]Trait opencv::dnn::BackendWrapper

pub trait BackendWrapper {
    fn as_raw_BackendWrapper(&self) -> *mut c_void;

    fn copy_to_host(&mut self) -> Result<()> { ... }
fn set_host_dirty(&mut self) -> Result<()> { ... } }

Derivatives of this class wraps cv::Mat for different backends and targets.

Required methods

Loading content...

Provided methods

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.

Loading content...

Implementors

Loading content...