Trait opencv::hub_prelude::DictTrait
source · [−]pub trait DictTrait: DictTraitConst {
fn as_raw_mut_Dict(&mut self) -> *mut c_void;
unsafe fn ptr_mut(&mut self, key: &str) -> Result<DictValue> { ... }
fn set_str(&mut self, key: &str, value: &str) -> Result<String> { ... }
fn set(&mut self, key: &str, value: &DictValue) -> Result<DictValue> { ... }
fn set_f64(&mut self, key: &str, value: &f64) -> Result<f64> { ... }
fn set_i64(&mut self, key: &str, value: &i64) -> Result<i64> { ... }
fn erase(&mut self, key: &str) -> Result<()> { ... }
}
Required Methods
fn as_raw_mut_Dict(&mut self) -> *mut c_void
Provided Methods
If the @p key in the dictionary then returns pointer to its value, else returns NULL.
Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Sets new @p value for the @p key, or adds new key-value pair into the dictionary.
Sets new @p value for the @p key, or adds new key-value pair into the dictionary.