pub enum ProjectionType {
Perspective,
Orthographic,
}
Expand description
Sets the projection type. The projection type could be either “perspective” or “orthographic”. Default: “perspective”
Variants§
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 moreSource§impl Debug for ProjectionType
impl Debug for ProjectionType
Source§impl Default for ProjectionType
impl Default for ProjectionType
Source§fn default() -> ProjectionType
fn default() -> ProjectionType
Returns the “default value” for a type. Read more
Source§impl From<ProjectionType> for Projection
impl From<ProjectionType> for Projection
Source§fn from(projection_type: ProjectionType) -> Self
fn from(projection_type: ProjectionType) -> Self
Converts to this type from the input type.
Auto 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