Enum gltf::camera::Projection [−][src]
pub enum Projection<'a> {
Orthographic(Orthographic<'a>),
Perspective(Perspective<'a>),
}
Expand description
A camera’s projection.
Variants
Orthographic(Orthographic<'a>)
Tuple Fields
0: Orthographic<'a>
Describes an orthographic projection.
Perspective(Perspective<'a>)
Tuple Fields
0: Perspective<'a>
Describes a perspective projection.
Trait Implementations
Auto 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
Mutably borrows from an owned value. Read more