pub enum VehicleStopStatus {
IncomingAt,
StoppedAt,
InTransitTo,
}
Variants§
IncomingAt
The vehicle is just about to arrive at the stop (on a stop display, the vehicle symbol typically flashes).
StoppedAt
The vehicle is standing at the stop.
InTransitTo
The vehicle has departed and is in transit to the next stop.
Implementations§
Trait Implementations§
source§impl Clone for VehicleStopStatus
impl Clone for VehicleStopStatus
source§fn clone(&self) -> VehicleStopStatus
fn clone(&self) -> VehicleStopStatus
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 VehicleStopStatus
impl Debug for VehicleStopStatus
source§impl Default for VehicleStopStatus
impl Default for VehicleStopStatus
source§fn default() -> VehicleStopStatus
fn default() -> VehicleStopStatus
Returns the “default value” for a type. Read more
source§impl From<VehicleStopStatus> for i32
impl From<VehicleStopStatus> for i32
source§fn from(value: VehicleStopStatus) -> i32
fn from(value: VehicleStopStatus) -> i32
Converts to this type from the input type.
source§impl Hash for VehicleStopStatus
impl Hash for VehicleStopStatus
source§impl Ord for VehicleStopStatus
impl Ord for VehicleStopStatus
source§fn cmp(&self, other: &VehicleStopStatus) -> Ordering
fn cmp(&self, other: &VehicleStopStatus) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<VehicleStopStatus> for VehicleStopStatus
impl PartialEq<VehicleStopStatus> for VehicleStopStatus
source§fn eq(&self, other: &VehicleStopStatus) -> bool
fn eq(&self, other: &VehicleStopStatus) -> bool
source§impl PartialOrd<VehicleStopStatus> for VehicleStopStatus
impl PartialOrd<VehicleStopStatus> for VehicleStopStatus
source§fn partial_cmp(&self, other: &VehicleStopStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &VehicleStopStatus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more