#[repr(u32)]pub enum ViewType {
None = 0,
Cockpit2D = 1,
CockpitVirtual = 2,
Orthogonal = 4,
}
Expand description
Cockpit view type.
Variants§
None = 0
No cockpit view.
Cockpit2D = 1
2D Panels in cockpit view.
CockpitVirtual = 2
Virtual (3D) panels in cockpit view.
Orthogonal = 4
Orthogonal (map) view.
Trait Implementations§
Source§impl TryFromPrimitive for ViewType
impl TryFromPrimitive for ViewType
impl Copy for ViewType
impl Eq for ViewType
impl StructuralPartialEq for ViewType
Auto Trait Implementations§
impl Freeze for ViewType
impl RefUnwindSafe for ViewType
impl Send for ViewType
impl Sync for ViewType
impl Unpin for ViewType
impl UnwindSafe for ViewType
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