Trait opencv::prelude::GMatDescTraitConst
source · pub trait GMatDescTraitConst {
Show 19 methods
// Required method
fn as_raw_GMatDesc(&self) -> *const c_void;
// Provided methods
fn depth(&self) -> i32 { ... }
fn chan(&self) -> i32 { ... }
fn size(&self) -> Size { ... }
fn planar(&self) -> bool { ... }
fn dims(&self) -> Vector<i32> { ... }
fn equals(&self, rhs: &GMatDesc) -> Result<bool> { ... }
fn not_equals(&self, rhs: &GMatDesc) -> Result<bool> { ... }
fn is_nd(&self) -> Result<bool> { ... }
fn can_describe(&self, mat: &Mat) -> Result<bool> { ... }
fn can_describe_1(&self, mat: &RMat) -> Result<bool> { ... }
fn with_size_delta(&self, delta: Size) -> Result<GMatDesc> { ... }
fn with_size_delta_1(&self, dx: i32, dy: i32) -> Result<GMatDesc> { ... }
fn with_size(&self, sz: Size) -> Result<GMatDesc> { ... }
fn with_depth(&self, ddepth: i32) -> Result<GMatDesc> { ... }
fn with_type(&self, ddepth: i32, dchan: i32) -> Result<GMatDesc> { ... }
fn as_planar(&self) -> Result<GMatDesc> { ... }
fn as_planar_1(&self, planes: i32) -> Result<GMatDesc> { ... }
fn as_interleaved(&self) -> Result<GMatDesc> { ... }
}
Expand description
Constant methods for crate::gapi::GMatDesc