Trait opencv::prelude::ExceptionTrait
source · pub trait ExceptionTrait: ExceptionTraitConst {
// Required method
fn as_raw_mut_Exception(&mut self) -> *mut c_void;
// Provided methods
fn set_msg(&mut self, val: &str) { ... }
fn set_code(&mut self, val: i32) { ... }
fn set_err(&mut self, val: &str) { ... }
fn set_func(&mut self, val: &str) { ... }
fn set_file(&mut self, val: &str) { ... }
fn set_line(&mut self, val: i32) { ... }
fn format_message(&mut self) -> Result<()> { ... }
}
Expand description
Mutable methods for core::Exception
Required Methods§
fn as_raw_mut_Exception(&mut self) -> *mut c_void
Provided Methods§
sourcefn set_func(&mut self, val: &str)
fn set_func(&mut self, val: &str)
function name. Available only when the compiler supports getting it