Trait opencv::core::ContextTrait [−][src]
pub trait ContextTrait: ContextTraitConst {
fn as_raw_mut_Context(&mut self) -> *mut c_void;
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<()> { ... }
}
Required methods
fn as_raw_mut_Context(&mut self) -> *mut c_void
Provided methods
fn create_with_type(&mut self, dtype: i32) -> Result<bool>
fn create_with_type(&mut self, dtype: i32) -> Result<bool>
@deprecated