Enum tis_100::core::Port [] [src]

pub enum Port {
    UP,
    DOWN,
    LEFT,
    RIGHT,
}

A TIS-100 port.

Variants

Trait Implementations

impl Debug for Port
[src]

Formats the value using the given formatter.

impl PartialEq for Port
[src]

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

This method tests for !=.

impl Eq for Port
[src]

impl Copy for Port
[src]

impl Clone for Port
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for Port
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl FromStr for Port
[src]

The associated error which can be returned from parsing.

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