opencv::gapi

Trait ScalarTraitConst

source
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

Required Methods§

Provided Methods§

source

fn val(&self) -> &[f64; 4]

source

fn get(&self, i: i32) -> Result<f64>

Implementors§