Struct opencv::features2d::DMatch [] [src]

pub struct DMatch {
    pub queryIdx: i32,
    pub trainIdx: i32,
    pub imgIdx: i32,
    pub distance: f32,
}

DMatch

Fields

queryIdx
trainIdx
imgIdx
distance

Methods

impl DMatch

fn default() -> Result<DMatch, String>

fn new(_queryIdx: i32, _trainIdx: i32, _distance: f32) -> Result<DMatch, String>

fn new_index(_queryIdx: i32, _trainIdx: i32, _imgIdx: i32, _distance: f32) -> Result<DMatch, String>

Trait Implementations

Derived Implementations

impl PartialEq for DMatch

fn eq(&self, __arg_0: &DMatch) -> bool

fn ne(&self, __arg_0: &DMatch) -> bool

impl Debug for DMatch

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for DMatch

fn clone(&self) -> DMatch

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for DMatch