[−][src]Struct opencv::dnn::Dict
This class implements name-value dictionary, values are instances of DictValue.
Implementations
impl Dict
[src]
pub fn as_raw_Dict(&self) -> *const c_void
[src]
pub fn as_raw_mut_Dict(&mut self) -> *mut c_void
[src]
Trait Implementations
impl Boxed for Dict
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl DictTrait for Dict
[src]
pub fn as_raw_Dict(&self) -> *const c_void
[src]
pub fn as_raw_mut_Dict(&mut self) -> *mut c_void
[src]
pub fn has(&self, key: &str) -> Result<bool>
[src]
pub unsafe fn ptr_mut(&mut self, key: &str) -> Result<DictValue>
[src]
pub unsafe fn ptr(&self, key: &str) -> Result<DictValue>
[src]
pub fn get(&self, key: &str) -> Result<DictValue>
[src]
pub fn set_str(&mut self, key: &str, value: &str) -> Result<String>
[src]
pub fn set(&mut self, key: &str, value: &DictValue) -> Result<DictValue>
[src]
pub fn set_f64(&mut self, key: &str, value: &f64) -> Result<f64>
[src]
pub fn set_i64(&mut self, key: &str, value: &i64) -> Result<i64>
[src]
pub fn erase(&mut self, key: &str) -> Result<()>
[src]
impl Drop for Dict
[src]
impl Send for Dict
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dict
[src]
impl !Sync for Dict
[src]
impl Unpin for Dict
[src]
impl UnwindSafe for Dict
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,