pub enum ProjectionType {
Orthographic(Orthographic),
Perspective(Perspective),
}
Expand description
The projection type of the camera.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProjectionType
impl Clone for ProjectionType
Source§fn clone(&self) -> ProjectionType
fn clone(&self) -> ProjectionType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ProjectionType
impl RefUnwindSafe for ProjectionType
impl Send for ProjectionType
impl Sync for ProjectionType
impl Unpin for ProjectionType
impl UnwindSafe for ProjectionType
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