Enum kailua_types::ty::Strings [] [src]

pub enum Strings {
    One(Str),
    Some(BTreeSet<Str>),
    All,
}

String types.

Variants

A single string literal.

Multiple string literals.

Any string.

Trait Implementations

impl Clone for Strings
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Union for Strings
[src]

A type of the resulting type.

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

impl Lattice for Strings
[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 Strings
[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 Strings
[src]

impl Debug for Strings
[src]

Formats the value using the given formatter.