Struct planar::Rect [] [src]

pub struct Rect<T, Unit> {
    pub origin: Point<T, Unit>,
    pub size: Size<T, Unit>,
}

Fields

Methods

impl<T, Unit> Rect<T, Unit>
[src]

[src]

[src]

[src]

Trait Implementations

impl<T: Copy, Unit> Copy for Rect<T, Unit>
[src]

impl<T: Clone, Unit> Clone for Rect<T, Unit>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: PartialEq, Unit> PartialEq for Rect<T, Unit>
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl<T: Eq, Unit> Eq for Rect<T, Unit>
[src]

impl<T: Debug, Unit> Debug for Rect<T, Unit>
[src]

[src]

Formats the value using the given formatter.