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
left: S
right: S
bottom: S
top: S
near: S
far: S
Trait Implementations
impl<S> Clone for Ortho<S> where
S: Clone,
[src]
impl<S> Clone for Ortho<S> where
S: Clone,
fn clone(&self) -> Ortho<S>
[src]
fn clone(&self) -> Ortho<S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<S> Debug for Ortho<S> where
S: Debug,
[src]
impl<S> Debug for Ortho<S> where
S: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<S> Serialize for Ortho<S> where
S: Serialize,
[src]
impl<S> Serialize for Ortho<S> where
S: Serialize,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de, S> Deserialize<'de> for Ortho<S> where
S: Deserialize<'de>,
[src]
impl<'de, S> Deserialize<'de> for Ortho<S> where
S: Deserialize<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Ortho<S>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Ortho<S>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<S> From<Ortho<S>> for Matrix4<S> where
S: BaseFloat,
[src]
impl<S> From<Ortho<S>> for Matrix4<S> where
S: BaseFloat,
impl<S> Copy for Ortho<S> where
S: Copy,
[src]
impl<S> Copy for Ortho<S> where
S: Copy,
impl<S> PartialEq<Ortho<S>> for Ortho<S> where
S: PartialEq<S>,
[src]
impl<S> PartialEq<Ortho<S>> for Ortho<S> where
S: PartialEq<S>,