Enum transit_model::objects::PathwayMode
source · pub enum PathwayMode {
Walkway,
Stairs,
MovingSidewalk,
Escalator,
Elevator,
FareGate,
ExitGate,
}
Variants§
Trait Implementations§
source§impl Clone for PathwayMode
impl Clone for PathwayMode
source§fn clone(&self) -> PathwayMode
fn clone(&self) -> PathwayMode
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 PathwayMode
impl Debug for PathwayMode
source§impl Default for PathwayMode
impl Default for PathwayMode
source§impl<'de> Deserialize<'de> for PathwayMode
impl<'de> Deserialize<'de> for PathwayMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for PathwayMode
impl Hash for PathwayMode
source§impl PartialEq<PathwayMode> for PathwayMode
impl PartialEq<PathwayMode> for PathwayMode
source§fn eq(&self, other: &PathwayMode) -> bool
fn eq(&self, other: &PathwayMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PathwayMode
impl Serialize for PathwayMode
impl Eq for PathwayMode
impl StructuralEq for PathwayMode
impl StructuralPartialEq for PathwayMode
Auto Trait Implementations§
impl RefUnwindSafe for PathwayMode
impl Send for PathwayMode
impl Sync for PathwayMode
impl Unpin for PathwayMode
impl UnwindSafe for PathwayMode
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