Struct fzyr::LocateResult[][src]

pub struct LocateResult<'src> {
    pub candidate: &'src str,
    pub score: Score,
    pub match_mask: BitVec,
}

Result of querying the score and location against a candidate

Fields

Binary mask showing where the charcaters of the query match the candidate

Methods

impl<'src> LocateResult<'src>
[src]

Trait Implementations

impl<'src> Debug for LocateResult<'src>
[src]

Formats the value using the given formatter. Read more

impl<'src> PartialOrd for LocateResult<'src>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'src> PartialEq for LocateResult<'src>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl<'src> Send for LocateResult<'src>

impl<'src> Sync for LocateResult<'src>