Enum ligature::Range[][src]

pub enum Range {
    StringLiteralRange {
        start: String,
        end: String,
    },
    IntegerLiteralRange {
        start: i64,
        end: i64,
    },
    FloatLiteralRange {
        start: f64,
        end: f64,
    },
}

A set of enums used to express range queries when it makes sense for that type (ie no support for BooleanLiteralRange or UnknownLiteralRange since they don't make sense).

Variants

StringLiteralRange

Represents a String range using basic String comparisons.

Fields of StringLiteralRange

start: String

The starting String (inclusive)

end: String

The end String (exclusive)

IntegerLiteralRange

Represents a String range using basic i64 comparisons.

Fields of IntegerLiteralRange

start: i64

The starting i64 (inclusive)

end: i64

The end i64 (exclusive)

FloatLiteralRange

Represents a String range using basic f64 comparisons.

Fields of FloatLiteralRange

start: f64

The starting f64 (inclusive)

end: f64

The end f64 (exclusive)

Trait Implementations

impl Debug for Range[src]

Auto Trait Implementations

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, 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.