Enum lib2048::Display[][src]

pub enum Display {
    Create {
        pos: TilePos,
        value: u8,
    },
    CombineInto {
        a: TilePos,
        b: TilePos,
        target: TilePos,
    },
    Move {
        from: TilePos,
        to: TilePos,
    },
    ScoreAdd {
        add: usize,
    },
    GameOver {
        score: usize,
    },
}

Variants

Fields of Create

Fields of CombineInto

Fields of Move

Fields of ScoreAdd

Fields of GameOver

Trait Implementations

impl Copy for Display
[src]

impl Clone for Display
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Display
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Display

impl Sync for Display