Trait DictValueTraitConst

Source
pub trait DictValueTraitConst {
Show 19 methods // Required method fn as_raw_DictValue(&self) -> *const c_void; // Provided methods fn get_str(&self, idx: i32) -> Result<String> { ... } fn get_str_def(&self) -> Result<String> { ... } fn get_f64(&self, idx: i32) -> Result<f64> { ... } fn get_f64_def(&self) -> Result<f64> { ... } fn get_i32(&self, idx: i32) -> Result<i32> { ... } fn get_i32_def(&self) -> Result<i32> { ... } fn get_i64(&self, idx: i32) -> Result<i64> { ... } fn get_i64_def(&self) -> Result<i64> { ... } fn size(&self) -> Result<i32> { ... } fn is_int(&self) -> Result<bool> { ... } fn is_string(&self) -> Result<bool> { ... } fn is_real(&self) -> Result<bool> { ... } fn get_int_value(&self, idx: i32) -> Result<i32> { ... } fn get_int_value_def(&self) -> Result<i32> { ... } fn get_real_value(&self, idx: i32) -> Result<f64> { ... } fn get_real_value_def(&self) -> Result<f64> { ... } fn get_string_value(&self, idx: i32) -> Result<String> { ... } fn get_string_value_def(&self) -> Result<String> { ... }
}
Expand description

Constant methods for crate::dnn::DictValue

Required Methods§

Provided Methods§

Source

fn get_str(&self, idx: i32) -> Result<String>

§C++ default parameters
  • idx: -1
Source

fn get_str_def(&self) -> Result<String>

§Note

This alternative version of DictValueTraitConst::get_str function uses the following default values for its arguments:

  • idx: -1
Source

fn get_f64(&self, idx: i32) -> Result<f64>

§C++ default parameters
  • idx: -1
Source

fn get_f64_def(&self) -> Result<f64>

§Note

This alternative version of DictValueTraitConst::get_f64 function uses the following default values for its arguments:

  • idx: -1
Source

fn get_i32(&self, idx: i32) -> Result<i32>

§C++ default parameters
  • idx: -1
Source

fn get_i32_def(&self) -> Result<i32>

§Note

This alternative version of DictValueTraitConst::get_i32 function uses the following default values for its arguments:

  • idx: -1
Source

fn get_i64(&self, idx: i32) -> Result<i64>

§C++ default parameters
  • idx: -1
Source

fn get_i64_def(&self) -> Result<i64>

§Note

This alternative version of DictValueTraitConst::get_i64 function uses the following default values for its arguments:

  • idx: -1
Source

fn size(&self) -> Result<i32>

Source

fn is_int(&self) -> Result<bool>

Source

fn is_string(&self) -> Result<bool>

Source

fn is_real(&self) -> Result<bool>

Source

fn get_int_value(&self, idx: i32) -> Result<i32>

§C++ default parameters
  • idx: -1
Source

fn get_int_value_def(&self) -> Result<i32>

§Note

This alternative version of DictValueTraitConst::get_int_value function uses the following default values for its arguments:

  • idx: -1
Source

fn get_real_value(&self, idx: i32) -> Result<f64>

§C++ default parameters
  • idx: -1
Source

fn get_real_value_def(&self) -> Result<f64>

§Note

This alternative version of DictValueTraitConst::get_real_value function uses the following default values for its arguments:

  • idx: -1
Source

fn get_string_value(&self, idx: i32) -> Result<String>

§C++ default parameters
  • idx: -1
Source

fn get_string_value_def(&self) -> Result<String>

§Note

This alternative version of DictValueTraitConst::get_string_value function uses the following default values for its arguments:

  • idx: -1

Implementors§