[][src]Struct fozzie::matcher::Match

pub struct Match<'a> {
    pub choice: &'a Choice<'a>,
    // some fields omitted
}

Fields

choice: &'a Choice<'a>

Implementations

impl<'a> Match<'a>[src]

pub fn is_match(query: &[char], choice: &Choice<'_>) -> bool[src]

pub fn new(query: &[char], choice: &'a Choice<'_>) -> Option<Self>[src]

pub fn draw(&self, selected: bool, show_scores: bool) -> String[src]

Trait Implementations

impl<'a> Display for Match<'a>[src]

impl<'a> Eq for Match<'a>[src]

impl<'a> Ord for Match<'a>[src]

impl<'a> PartialEq<Match<'a>> for Match<'a>[src]

impl<'a> PartialOrd<Match<'a>> for Match<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Match<'a>[src]

impl<'a> Send for Match<'a>[src]

impl<'a> Sync for Match<'a>[src]

impl<'a> Unpin for Match<'a>[src]

impl<'a> UnwindSafe for Match<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.