Enum gltf::camera::Projection
source · pub enum Projection<'a> {
Orthographic(Orthographic<'a>),
Perspective(Perspective<'a>),
}
Expand description
A camera’s projection.
Variants§
Orthographic(Orthographic<'a>)
Describes an orthographic projection.
Perspective(Perspective<'a>)
Describes a perspective projection.
Trait Implementations§
source§impl<'a> Clone for Projection<'a>
impl<'a> Clone for Projection<'a>
source§fn clone(&self) -> Projection<'a>
fn clone(&self) -> Projection<'a>
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<'a> RefUnwindSafe for Projection<'a>
impl<'a> Send for Projection<'a>
impl<'a> Sync for Projection<'a>
impl<'a> Unpin for Projection<'a>
impl<'a> UnwindSafe for Projection<'a>
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