Enum tis_100::core::Source [] [src]

pub enum Source {
    VAL(isize),
    REG(Register),
}

The source component of a TIS-100 instruction.

Variants

Trait Implementations

impl Debug for Source
[src]

Formats the value using the given formatter.

impl PartialEq for Source
[src]

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

This method tests for !=.

impl Copy for Source
[src]

impl Clone for Source
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl FromStr for Source
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more