#[repr(u32)]pub enum BoardingDirection {
TowardEnd = 0,
TowardStart = 1,
}
Expand description
This enum is pure speculation–the underlying value is a single bit. What else could it mean?
Variants§
TowardEnd = 0
Indicates that at the time of boarding, the transit medium was headed toward the end of its route.
TowardStart = 1
Indicates that at the time of boarding, the transit medium was headed toward the start of its route.
Trait Implementations§
Source§impl Clone for BoardingDirection
impl Clone for BoardingDirection
Source§fn clone(&self) -> BoardingDirection
fn clone(&self) -> BoardingDirection
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 BoardingDirection
impl Debug for BoardingDirection
Source§impl From<u8> for BoardingDirection
impl From<u8> for BoardingDirection
Source§impl Hash for BoardingDirection
impl Hash for BoardingDirection
Source§impl PartialEq for BoardingDirection
impl PartialEq for BoardingDirection
impl Copy for BoardingDirection
impl Eq for BoardingDirection
impl StructuralPartialEq for BoardingDirection
Auto Trait Implementations§
impl Freeze for BoardingDirection
impl RefUnwindSafe for BoardingDirection
impl Send for BoardingDirection
impl Sync for BoardingDirection
impl Unpin for BoardingDirection
impl UnwindSafe for BoardingDirection
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