[][src]Enum map_model::pathfind::walking::WalkingNode

pub enum WalkingNode {
    SidewalkEndpoint(LaneIDbool),
    RideBus(BusStopID),
    LeaveMap(IntersectionID),
}

Variants

SidewalkEndpoint(LaneIDbool)

false is src_i, true is dst_i

RideBus(BusStopID)
LeaveMap(IntersectionID)

Implementations

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 Copy for WalkingNode[src]

impl Debug for WalkingNode[src]

impl<'de> Deserialize<'de> for WalkingNode[src]

impl Eq for WalkingNode[src]

impl Hash for WalkingNode[src]

impl Ord for WalkingNode[src]

impl PartialEq<WalkingNode> for WalkingNode[src]

impl PartialOrd<WalkingNode> for WalkingNode[src]

impl Serialize 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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,