Struct sc2::Rect2 [] [src]

pub struct Rect2 {
    pub from: Point2,
    pub to: Point2,
}

2D rectangle represented by two points

Fields

upper left-hand corner

lower right-hand corner

Trait Implementations

impl Debug for Rect2
[src]

[src]

Formats the value using the given formatter.

impl Copy for Rect2
[src]

impl Clone for Rect2
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more