[][src]Struct map_model::make::transit::Matcher

struct Matcher {
    sidewalk_pts: HashMap<HashablePt2D, Position>,
    light_rail_pts: HashMap<HashablePt2D, Position>,
}

Fields

sidewalk_pts: HashMap<HashablePt2D, Position>light_rail_pts: HashMap<HashablePt2D, Position>

Implementations

impl Matcher[src]

fn new(routes: &Vec<RawBusRoute>, map: &Map, timer: &mut Timer<'_>) -> Matcher[src]

fn lookup(
    &self,
    route_type: PathConstraints,
    stop: &RawBusStop,
    map: &Map
) -> Result<(Position, Position), String>
[src]

Auto Trait Implementations

impl RefUnwindSafe for Matcher

impl Send for Matcher

impl Sync for Matcher

impl Unpin for Matcher

impl UnwindSafe for Matcher

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> From<T> for T[src]

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

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>,