Enum shortcut::cmp::Comparison [] [src]

pub enum Comparison<'a, T: Clone + 'a> {
    Equal(Value<'a, T>),
}

A comparison to perform for a literal value against a Value.

Variants

Is the value equal to the given Value?

Methods

impl<'a, T: Ord + Clone + 'a> Comparison<'a, T>
[src]

Returns true if the given value compares successfully against this Value when evaluated against the given row.

Trait Implementations

impl<'a, T: Clone + Clone + 'a> Clone for Comparison<'a, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, T: Debug + Clone + 'a> Debug for Comparison<'a, T>
[src]

Formats the value using the given formatter.

impl<'a, T: Display + Clone + 'a> Display for Comparison<'a, T>
[src]

Formats the value using the given formatter. Read more