Enum little::Mem [] [src]

pub enum Mem {
    Const(Constant),
    Param(Parameter),
    Binding(Binding),
    StackTop1,
    StackTop2,
}

Memory location.

This may be required by Output, Push or Load instructions.

Variants

Const(Constant)

Constant item.

Param(Parameter)

Param item.

Binding(Binding)

Binding.

StackTop1

Last value on stack.

StackTop2

Last - 1 value on stack.

Trait Implementations

impl Debug for Mem
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Mem
[src]

fn clone(&self) -> Mem

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Mem
[src]