[][src]Struct map_model::RoutingParams

pub struct RoutingParams {
    pub unprotected_turn_penalty: f64,
    pub bike_lane_penalty: f64,
    pub bus_lane_penalty: f64,
    pub driving_lane_penalty: f64,
}

Tuneable parameters for all types of routing.

Fields

unprotected_turn_penalty: f64bike_lane_penalty: f64bus_lane_penalty: f64driving_lane_penalty: f64

Implementations

impl RoutingParams[src]

pub const fn default() -> RoutingParams[src]

Trait Implementations

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

impl PartialEq<RoutingParams> for RoutingParams[src]

impl Serialize for RoutingParams[src]

impl StructuralPartialEq for RoutingParams[src]

Auto Trait Implementations

impl RefUnwindSafe for RoutingParams[src]

impl Send for RoutingParams[src]

impl Sync for RoutingParams[src]

impl Unpin for RoutingParams[src]

impl UnwindSafe for RoutingParams[src]

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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