[−][src]Struct opencv::dnn::DictValue
This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64. @todo Maybe int64 is useless because double type exactly stores at least 2^52 integers.
Implementations
impl DictValue
[src]
pub fn as_raw_DictValue(&self) -> *const c_void
[src]
pub fn as_raw_mut_DictValue(&mut self) -> *mut c_void
[src]
impl DictValue
[src]
pub fn copy(r: &DictValue) -> Result<DictValue>
[src]
pub fn from_bool(i: bool) -> Result<DictValue>
[src]
pub fn from_i64(i: i64) -> Result<DictValue>
[src]
pub fn from_i32(i: i32) -> Result<DictValue>
[src]
pub fn from_u32(p: u32) -> Result<DictValue>
[src]
pub fn from_f64(p: f64) -> Result<DictValue>
[src]
pub fn from_str(s: &str) -> Result<DictValue>
[src]
Trait Implementations
impl Boxed for DictValue
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Debug for DictValue
[src]
impl DictValueTrait for DictValue
[src]
fn as_raw_DictValue(&self) -> *const c_void
[src]
fn as_raw_mut_DictValue(&mut self) -> *mut c_void
[src]
fn get_str(&self, idx: i32) -> Result<String>
[src]
fn get_f64(&self, idx: i32) -> Result<f64>
[src]
fn get_i32(&self, idx: i32) -> Result<i32>
[src]
fn get_i64(&self, idx: i32) -> Result<i64>
[src]
fn size(&self) -> Result<i32>
[src]
fn is_int(&self) -> Result<bool>
[src]
fn is_string(&self) -> Result<bool>
[src]
fn is_real(&self) -> Result<bool>
[src]
fn get_int_value(&self, idx: i32) -> Result<i32>
[src]
fn get_real_value(&self, idx: i32) -> Result<f64>
[src]
fn get_string_value(&self, idx: i32) -> Result<String>
[src]
impl Drop for DictValue
[src]
impl Send for DictValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for DictValue
impl !Sync for DictValue
impl Unpin for DictValue
impl UnwindSafe for DictValue
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>,