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