Enum xplane_sys::XPLMDrawingPhase
source · #[non_exhaustive]#[repr(u32)]pub enum XPLMDrawingPhase {
FirstCockpit = 35,
Panel = 40,
Gauges = 45,
Window = 50,
LastCockpit = 55,
LocalMap3D = 100,
LocalMap2D = 101,
LocalMapProfile = 102,
}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.
FirstCockpit = 35
Panel = 40
Gauges = 45
Window = 50
LastCockpit = 55
LocalMap3D = 100
LocalMap2D = 101
LocalMapProfile = 102
Trait Implementations§
source§impl Clone for XPLMDrawingPhase
impl Clone for XPLMDrawingPhase
source§fn clone(&self) -> XPLMDrawingPhase
fn clone(&self) -> XPLMDrawingPhase
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 XPLMDrawingPhase
impl Debug for XPLMDrawingPhase
source§impl Hash for XPLMDrawingPhase
impl Hash for XPLMDrawingPhase
source§impl PartialEq for XPLMDrawingPhase
impl PartialEq for XPLMDrawingPhase
source§fn eq(&self, other: &XPLMDrawingPhase) -> bool
fn eq(&self, other: &XPLMDrawingPhase) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for XPLMDrawingPhase
impl Eq for XPLMDrawingPhase
impl StructuralEq for XPLMDrawingPhase
impl StructuralPartialEq for XPLMDrawingPhase
Auto Trait Implementations§
impl RefUnwindSafe for XPLMDrawingPhase
impl Send for XPLMDrawingPhase
impl Sync for XPLMDrawingPhase
impl Unpin for XPLMDrawingPhase
impl UnwindSafe for XPLMDrawingPhase
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