Trait opencv::core::ContextTrait
source · pub trait ContextTrait: ContextTraitConst {
// Required method
fn as_raw_mut_Context(&mut self) -> *mut c_void;
// Provided methods
fn create(&mut self) -> Result<bool> { ... }
fn create_with_type(&mut self, dtype: i32) -> Result<bool> { ... }
fn get_prog(
&mut self,
prog: &ProgramSource,
buildopt: &str,
errmsg: &mut String
) -> Result<Program> { ... }
fn unload_prog(&mut self, prog: &mut Program) -> Result<()> { ... }
fn set_use_svm(&mut self, enabled: bool) -> Result<()> { ... }
fn release(&mut self) -> Result<()> { ... }
}
Expand description
Mutable methods for core::Context
Required Methods§
fn as_raw_mut_Context(&mut self) -> *mut c_void
Provided Methods§
sourcefn create_with_type(&mut self, dtype: i32) -> Result<bool>
fn create_with_type(&mut self, dtype: i32) -> Result<bool>
@deprecated