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