Struct flx::LineInfo [] [src]

pub struct LineInfo { /* fields omitted */ }

Parsed information about a line, ready to be searched by a SearchBase.

Methods

impl LineInfo
[src]

Constructs a new LineInfo objects from the given item.

Factor is a "tie-breaker," or something to weight the matches in a way beyond the matching already done in flx. The greater the factor, the more greatly matching favors the item.

Sets the factor for the line info

Changes the factor after the creation of the line

Gets the factor for the line info

Produces the factor for the line info

Trait Implementations

impl Debug for LineInfo
[src]

Formats the value using the given formatter.

impl<T: Into<String>> From<T> for LineInfo
[src]

Creates a LineInfo object with a factor of zero

Performs the conversion.