#[non_exhaustive]#[repr(i32)]pub enum CameraProjectionType {
Invalid = -1,
Perspective = 0,
Ortho = 1,
Max = 2,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for CameraProjectionType
impl Clone for CameraProjectionType
impl Copy for CameraProjectionType
Source§impl Debug for CameraProjectionType
impl Debug for CameraProjectionType
impl Eq for CameraProjectionType
Source§impl Hash for CameraProjectionType
impl Hash for CameraProjectionType
Source§impl PartialEq for CameraProjectionType
impl PartialEq for CameraProjectionType
impl StructuralPartialEq for CameraProjectionType
Auto Trait Implementations§
impl Forget for CameraProjectionType
impl Freeze for CameraProjectionType
impl Move for CameraProjectionType
impl RefUnwindSafe for CameraProjectionType
impl Send for CameraProjectionType
impl Sync for CameraProjectionType
impl Unpin for CameraProjectionType
impl UnsafeUnpin for CameraProjectionType
impl UnwindSafe for CameraProjectionType
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