pub trait LineMod_MatchTraitConst {
// Required method
fn as_raw_LineMod_Match(&self) -> *const c_void;
// Provided methods
fn x(&self) -> i32 { ... }
fn y(&self) -> i32 { ... }
fn similarity(&self) -> f32 { ... }
fn class_id(&self) -> String { ... }
fn template_id(&self) -> i32 { ... }
fn less_than(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool> { ... }
fn equals(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool> { ... }
}
Expand description
Constant methods for crate::rgbd::LineMod_Match
Required Methods§
fn as_raw_LineMod_Match(&self) -> *const c_void
Provided Methods§
fn x(&self) -> i32
fn y(&self) -> i32
fn similarity(&self) -> f32
fn class_id(&self) -> String
fn template_id(&self) -> i32
Sourcefn less_than(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>
fn less_than(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>
Sort matches with high similarity to the front
fn equals(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.