pub struct Ortho<S> {
pub left: S,
pub right: S,
pub bottom: S,
pub top: S,
pub near: S,
pub far: S,
}
Expand description
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§
source§impl<S: PartialEq> PartialEq<Ortho<S>> for Ortho<S>
impl<S: PartialEq> PartialEq<Ortho<S>> for Ortho<S>
impl<S: Copy> Copy for Ortho<S>
impl<S> StructuralPartialEq for Ortho<S>
Auto Trait Implementations§
impl<S> RefUnwindSafe for Ortho<S>where S: RefUnwindSafe,
impl<S> Send for Ortho<S>where S: Send,
impl<S> Sync for Ortho<S>where S: Sync,
impl<S> Unpin for Ortho<S>where S: Unpin,
impl<S> UnwindSafe for Ortho<S>where S: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more