Enum kailua_types::ty::Numbers [] [src]

pub enum Numbers {
    One(i32),
    Some(BTreeSet<i32>),
    Int,
    All,
}

Number types.

Variants

A single integer literal.

Multiple integer literals.

Any integer.

Any number.

Trait Implementations

impl Clone for Numbers
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Union for Numbers
[src]

A type of the resulting type.

Calculates a union type of self and other, explicitly or implicitly. Read more

impl Lattice for Numbers
[src]

Asserts that self is a consistent subtype of other under the type context.

Asserts that self is a consistent type equal to other under the type context.

impl PartialEq for Numbers
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Numbers
[src]

impl Debug for Numbers
[src]

Formats the value using the given formatter.