Enum asteroid::graphics::Draw [] [src]

pub enum Draw {
    CircleFill {
        x: i32,
        y: i32,
        r: i32,
    },
    CircleLine {
        x: i32,
        y: i32,
        r: i32,
    },
    RectangleFill {
        x: i32,
        y: i32,
        w: u32,
        h: u32,
    },
    RectangleLine {
        x: i32,
        y: i32,
        w: u32,
        h: u32,
    },
    EllipseFill {
        x: i32,
        y: i32,
        w: i32,
        h: i32,
    },
    EllipseLine {
        x: i32,
        y: i32,
        w: i32,
        h: i32,
    },
    Triangle {
        x: i32,
        y: i32,
        b: i32,
        h: i32,
    },
}

Variants

Fields of CircleFill

Fields of CircleLine

Fields of RectangleFill

Fields of RectangleLine

Fields of EllipseFill

Fields of EllipseLine

Fields of Triangle

Trait Implementations

impl Clone for Draw
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Draw
[src]

impl PartialEq for Draw
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Draw
[src]

[src]

Formats the value using the given formatter.