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

pub trait BackendWrapper {
    pub fn as_raw_BackendWrapper(&self) -> *const c_void;
pub fn as_raw_mut_BackendWrapper(&mut self) -> *mut c_void; pub fn backend_id(&self) -> i32 { ... }
pub fn set_backend_id(&mut self, val: i32) { ... }
pub fn target_id(&self) -> i32 { ... }
pub fn set_target_id(&mut self, val: i32) { ... }
pub fn copy_to_host(&mut self) -> Result<()> { ... }
pub 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

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.

Loading content...

Implementors

Loading content...