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

pub enum Comparison<T: PartialOrd> {
    Equal(Value<T>),
}

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

Variants

Is the value equal to the given Value?

Methods

impl<T: PartialOrd> Comparison<T>
[src]

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

Trait Implementations

impl<T: Clone + PartialOrd> Clone for Comparison<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug + PartialOrd> Debug for Comparison<T>
[src]

Formats the value using the given formatter.

impl<T: PartialOrd + Display> Display for Comparison<T>
[src]

Formats the value using the given formatter.