Struct aurum_linear::Rect [] [src]

pub struct Rect<T> { /* fields omitted */ }

Rectangle.

Methods

impl<T> Rect<T>
[src]

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

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

Formats the value using the given formatter.

impl<T: Default> Default for Rect<T>
[src]

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

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

impl<T: Hash> Hash for Rect<T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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

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

This method tests for !=.

impl<T: Copy + Add<Output = T>> Add<Vec2<T>> for Rect<T>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<T: Copy + Div<Output = T>> Div<T> for Rect<T>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<T: Copy + Div<Output = T>> Div<Vec2<T>> for Rect<T>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<T: Copy + Mul<Output = T>> Mul<T> for Rect<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: Copy + Mul<Output = T>> Mul<Vec2<T>> for Rect<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: Copy + Sub<Output = T>> Sub<Vec2<T>> for Rect<T>
[src]

The resulting type after applying the - operator

The method for the - operator