Struct geomprim2d::Rectangle[][src]

pub struct Rectangle<S: Scalar> {
    pub tlc: Point<S>,
    pub w: S,
    pub h: S,
}

Fields

Methods

impl<S: Scalar> Rectangle<S>
[src]

Trait Implementations

impl<S: Debug + Scalar> Debug for Rectangle<S>
[src]

Formats the value using the given formatter. Read more

impl<S: Clone + Scalar> Clone for Rectangle<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Copy + Scalar> Copy for Rectangle<S>
[src]

impl<S: Scalar> Send for Rectangle<S>
[src]

Auto Trait Implementations

impl<S> Sync for Rectangle<S> where
    S: Sync