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