Enum kailua_check::env::SlotSpec [] [src]

pub enum SlotSpec {
    Implicit(Spanned<Slot>),
    Explicit(Spanned<Slot>),
}

A slot type "specification".

It is possible that the slot type is constructed first and then it gets "initialized", because we can put a type specification to table fields which may yield a new empty slot.

Variants

The slot is constructed implicitly (e.g. from --: const), so the type should be still copied directly from the initialization.

The slot is specified explicitly and the initialization should be its subtype.

Methods

impl SlotSpec
[src]

Trait Implementations

impl Clone for SlotSpec
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SlotSpec
[src]

Formats the value using the given formatter.