pub trait MatSizeTraitConst {
// Required method
fn as_raw_MatSize(&self) -> *const c_void;
// Provided methods
fn p(&self) -> *const i32 { ... }
fn dims(&self) -> i32 { ... }
fn apply(&self) -> Result<Size> { ... }
fn get(&self, i: i32) -> Result<i32> { ... }
fn to_xconst_i32(&self) -> *const i32 { ... }
fn equals(&self, sz: &impl MatSizeTraitConst) -> bool { ... }
fn not_equals(&self, sz: &impl MatSizeTraitConst) -> bool { ... }
}
Expand description
Constant methods for core::MatSize
Required Methods§
fn as_raw_MatSize(&self) -> *const c_void
Provided Methods§
fn p(&self) -> *const i32
fn dims(&self) -> i32
fn apply(&self) -> Result<Size>
fn get(&self, i: i32) -> Result<i32>
fn to_xconst_i32(&self) -> *const i32
fn equals(&self, sz: &impl MatSizeTraitConst) -> bool
fn not_equals(&self, sz: &impl MatSizeTraitConst) -> bool
Object Safety§
This trait is not object safe.