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

Required Methods§

Provided Methods§

source

fn depth(&self) -> i32

source

fn chan(&self) -> i32

source

fn size(&self) -> Size

source

fn planar(&self) -> bool

source

fn dims(&self) -> Vector<i32>

source

fn equals(&self, rhs: &GMatDesc) -> Result<bool>

source

fn not_equals(&self, rhs: &GMatDesc) -> Result<bool>

source

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

source

fn can_describe(&self, mat: &Mat) -> Result<bool>

source

fn can_describe_1(&self, mat: &RMat) -> Result<bool>

source

fn with_size_delta(&self, delta: Size) -> Result<GMatDesc>

source

fn with_size_delta_1(&self, dx: i32, dy: i32) -> Result<GMatDesc>

source

fn with_size(&self, sz: Size) -> Result<GMatDesc>

source

fn with_depth(&self, ddepth: i32) -> Result<GMatDesc>

source

fn with_type(&self, ddepth: i32, dchan: i32) -> Result<GMatDesc>

source

fn as_planar(&self) -> Result<GMatDesc>

source

fn as_planar_1(&self, planes: i32) -> Result<GMatDesc>

source

fn as_interleaved(&self) -> Result<GMatDesc>

Implementors§