Struct crayon::utils::Rect [] [src]

pub struct Rect {
    pub min: Point2<i32>,
    pub max: Point2<i32>,
}

A rectangle, with top-left corner at min, and bottom-right corner at max.

Fields

Methods

impl Rect
[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Copy for Rect
[src]

impl Clone for Rect
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Rect
[src]

[src]

Formats the value using the given formatter.