Struct sc2::data::Rect2I[][src]

pub struct Rect2I {
    pub from: Point2I,
    pub to: Point2I,
}

2D integer rectangle represented by two points.

Fields

Upper left-hand corner.

Lower right-hand corner.

Trait Implementations

impl Debug for Rect2I
[src]

Formats the value using the given formatter. Read more

impl Copy for Rect2I
[src]

impl Clone for Rect2I
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Rect2I

impl Sync for Rect2I