Trait LineMod_MatchTraitConst

Source
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§

Provided Methods§

Source

fn x(&self) -> i32

Source

fn y(&self) -> i32

Source

fn similarity(&self) -> f32

Source

fn class_id(&self) -> String

Source

fn template_id(&self) -> i32

Source

fn less_than(&self, rhs: &impl LineMod_MatchTraitConst) -> Result<bool>

Sort matches with high similarity to the front

Source

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.

Implementors§