Struct nannou::math::Ortho[][src]

pub struct Ortho<S> {
    pub left: S,
    pub right: S,
    pub bottom: S,
    pub top: S,
    pub near: S,
    pub far: S,
}

An orthographic projection with arbitrary left/right/bottom/top distances

Fields

Trait Implementations

impl<S> Clone for Ortho<S> where
    S: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S> Debug for Ortho<S> where
    S: Debug
[src]

Formats the value using the given formatter. Read more

impl<'de, S> Deserialize<'de> for Ortho<S> where
    S: Deserialize<'de>, 
[src]

Deserialize this value from the given Serde deserializer. Read more

impl<S> From<Ortho<S>> for Matrix4<S> where
    S: BaseFloat
[src]

Performs the conversion.

impl<S> Serialize for Ortho<S> where
    S: Serialize
[src]

Serialize this value into the given Serde serializer. Read more

impl<S> Copy for Ortho<S> where
    S: Copy
[src]

impl<S> PartialEq<Ortho<S>> for Ortho<S> where
    S: PartialEq<S>, 
[src]

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

This method tests for !=.

Auto Trait Implementations

impl<S> Send for Ortho<S> where
    S: Send

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