Enum gltf_json::camera::Type [−][src]
pub enum Type {
Perspective,
Orthographic,
}Specifies the camera type.
Variants
PerspectiveA perspective projection.
OrthographicAn orthographic projection.
Trait Implementations
impl Clone for Type[src]
impl Clone for Typefn clone(&self) -> Type[src]
fn clone(&self) -> TypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for Type[src]
impl Copy for Typeimpl Debug for Type[src]
impl Debug for Typefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Serialize for Type[src]
impl Serialize for Type