pub enum BoardingLocation {
NoneOrReserved,
BusNumber(u16),
TrainNumber(u16),
PlatformNumber(u16),
}
Expand description
The number of a boarded element.
Variants§
Trait Implementations§
Source§impl Debug for BoardingLocation
impl Debug for BoardingLocation
Source§impl From<&BoardingLocation> for u16
impl From<&BoardingLocation> for u16
Source§fn from(val: &BoardingLocation) -> Self
fn from(val: &BoardingLocation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoardingLocation
impl RefUnwindSafe for BoardingLocation
impl Send for BoardingLocation
impl Sync for BoardingLocation
impl Unpin for BoardingLocation
impl UnwindSafe for BoardingLocation
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