#[non_exhaustive]#[repr(u8)]pub enum RiderPositionType {
Seated = 0,
Standing = 1,
TransitionToSeated = 2,
TransitionToStanding = 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.
Implementations§
Trait Implementations§
Source§impl Clone for RiderPositionType
impl Clone for RiderPositionType
Source§fn clone(&self) -> RiderPositionType
fn clone(&self) -> RiderPositionType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RiderPositionType
impl Debug for RiderPositionType
Source§impl Hash for RiderPositionType
impl Hash for RiderPositionType
Source§impl PartialEq for RiderPositionType
impl PartialEq for RiderPositionType
Source§fn eq(&self, other: &RiderPositionType) -> bool
fn eq(&self, other: &RiderPositionType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RiderPositionType
impl Eq for RiderPositionType
impl StructuralPartialEq for RiderPositionType
Auto Trait Implementations§
impl Freeze for RiderPositionType
impl RefUnwindSafe for RiderPositionType
impl Send for RiderPositionType
impl Sync for RiderPositionType
impl Unpin for RiderPositionType
impl UnsafeUnpin for RiderPositionType
impl UnwindSafe for RiderPositionType
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