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