Struct vodk_math::vec2::Rectangle [] [src]

pub struct Rectangle<Unit = Untyped> {
    pub x: f32,
    pub y: f32,
    pub width: f32,
    pub height: f32,
    // some fields omitted
}

Fields

Methods

impl<U> Rectangle<U>
[src]

Trait Implementations

impl<U> Default for Rectangle<U>
[src]

Returns the "default value" for a type. Read more

impl<U: Unit> Debug for Rectangle<U>
[src]

Formats the value using the given formatter.

impl<U> Copy for Rectangle<U>
[src]

impl<U> Clone for Rectangle<U>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<U> PartialEq for Rectangle<U>
[src]

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

This method tests for !=.