Struct dunge::Orthographic
source · [−]pub struct Orthographic {
pub width_factor: f32,
pub height_factor: f32,
pub near: f32,
pub far: f32,
}
Expand description
Orthographic projection.
Fields
width_factor: f32
height_factor: f32
near: f32
far: f32
Trait Implementations
sourceimpl Clone for Orthographic
impl Clone for Orthographic
sourcefn clone(&self) -> Orthographic
fn clone(&self) -> Orthographic
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for Orthographic
impl Default for Orthographic
impl Copy for Orthographic
Auto Trait Implementations
impl RefUnwindSafe for Orthographic
impl Send for Orthographic
impl Sync for Orthographic
impl Unpin for Orthographic
impl UnwindSafe for Orthographic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more