Enum xplane_sys::XPLMKeyFlags
source · #[non_exhaustive]#[repr(u32)]pub enum XPLMKeyFlags {
Shift = 1,
OptionAlt = 2,
Control = 4,
Down = 8,
Up = 16,
}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 XPLMKeyFlags
impl Clone for XPLMKeyFlags
source§fn clone(&self) -> XPLMKeyFlags
fn clone(&self) -> XPLMKeyFlags
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 XPLMKeyFlags
impl Debug for XPLMKeyFlags
source§impl Hash for XPLMKeyFlags
impl Hash for XPLMKeyFlags
source§impl PartialEq for XPLMKeyFlags
impl PartialEq for XPLMKeyFlags
source§fn eq(&self, other: &XPLMKeyFlags) -> bool
fn eq(&self, other: &XPLMKeyFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for XPLMKeyFlags
impl Eq for XPLMKeyFlags
impl StructuralEq for XPLMKeyFlags
impl StructuralPartialEq for XPLMKeyFlags
Auto Trait Implementations§
impl RefUnwindSafe for XPLMKeyFlags
impl Send for XPLMKeyFlags
impl Sync for XPLMKeyFlags
impl Unpin for XPLMKeyFlags
impl UnwindSafe for XPLMKeyFlags
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