pub trait BackendWrapper: BackendWrapperConst {
    // Required method
    fn as_raw_mut_BackendWrapper(&mut self) -> *mut c_void;

    // Provided methods
    fn set_backend_id(&mut self, val: i32) { ... }
    fn set_target_id(&mut self, val: i32) { ... }
    fn copy_to_host(&mut self) -> Result<()> { ... }
    fn set_host_dirty(&mut self) -> Result<()> { ... }
}
Expand description

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

Required Methods§

Provided Methods§

source

fn set_backend_id(&mut self, val: i32)

Backend identifier.

source

fn set_target_id(&mut self, val: i32)

Target identifier.

source

fn copy_to_host(&mut self) -> Result<()>

Transfer data to CPU host memory.

source

fn set_host_dirty(&mut self) -> Result<()>

Indicate that an actual data is on CPU.

Implementors§