Struct cgmath::Perspective [] [src]

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

A perspective projection with arbitrary left/right/bottom/top distances


left: S right: S bottom: S top: S near: S far: S

Trait Implementations

impl<S: PartialEq> PartialEq for Perspective<S>

fn eq(&self, __arg_0: &Perspective<S>) -> bool

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

fn ne(&self, __arg_0: &Perspective<S>) -> bool

This method tests for !=.

impl<S: Debug> Debug for Perspective<S>

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<S: Clone> Clone for Perspective<S>

fn clone(&self) -> Perspective<S>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more

impl<S: Copy> Copy for Perspective<S>

impl<S: Decodable> Decodable for Perspective<S>

fn decode<__DS: Decoder>(__arg_0: &mut __DS) -> Result<Perspective<S>, __DS::Error>

impl<S: Encodable> Encodable for Perspective<S>

fn encode<__SS: Encoder>(&self, __arg_0: &mut __SS) -> Result<(), __SS::Error>