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