pub trait ScalarTraitConst {
// Required method
fn as_raw_Scalar(&self) -> *const c_void;
// Provided methods
fn val(&self) -> &[f64; 4] { ... }
fn get(&self, i: i32) -> Result<f64> { ... }
}
Expand description
Constant methods for crate::gapi::Scalar