Enum map_model::connectivity::WalkingNode [−][src]
pub enum WalkingNode { SidewalkEndpoint(DirectedRoadID, bool), RideBus(BusStopID), LeaveMap(IntersectionID), }
Variants
SidewalkEndpoint(DirectedRoadID, bool)
false is src_i, true is dst_i
RideBus(BusStopID)
LeaveMap(IntersectionID)
Implementations
impl WalkingNode
[src]
impl WalkingNode
[src]pub fn closest(pos: Position, map: &Map) -> WalkingNode
[src]
fn end_transit(pos: Position, map: &Map) -> WalkingNode
[src]
Trait Implementations
impl Clone for WalkingNode
[src]
impl Clone for WalkingNode
[src]fn clone(&self) -> WalkingNode
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for WalkingNode
[src]
impl<'de> Deserialize<'de> for WalkingNode
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Hash for WalkingNode
[src]
impl Hash for WalkingNode
[src]impl Ord for WalkingNode
[src]
impl Ord for WalkingNode
[src]impl PartialEq<WalkingNode> for WalkingNode
[src]
impl PartialEq<WalkingNode> for WalkingNode
[src]fn eq(&self, other: &WalkingNode) -> bool
[src]
fn ne(&self, other: &WalkingNode) -> bool
[src]
impl PartialOrd<WalkingNode> for WalkingNode
[src]
impl PartialOrd<WalkingNode> for WalkingNode
[src]impl Serialize for WalkingNode
[src]
impl Serialize for WalkingNode
[src]impl Copy for WalkingNode
[src]
impl Eq for WalkingNode
[src]
impl StructuralEq for WalkingNode
[src]
impl StructuralPartialEq for WalkingNode
[src]
Auto Trait Implementations
impl RefUnwindSafe for WalkingNode
impl Send for WalkingNode
impl Sync for WalkingNode
impl Unpin for WalkingNode
impl UnwindSafe for WalkingNode
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
impl<T> CallHasher for T where
T: Hash,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<N> NodeTrait for N where
N: Copy + Ord + Hash,
[src]
N: Copy + Ord + Hash,