Struct map_model::RoutingParams [−][src]
pub struct RoutingParams { pub unprotected_turn_penalty: Duration, 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: Duration
bike_lane_penalty: f64
bus_lane_penalty: f64
driving_lane_penalty: f64
Implementations
impl RoutingParams
[src]
impl RoutingParams
[src]pub const fn default() -> RoutingParams
[src]
Trait Implementations
impl Clone for RoutingParams
[src]
impl Clone for RoutingParams
[src]fn clone(&self) -> RoutingParams
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for RoutingParams
[src]
impl<'de> Deserialize<'de> for RoutingParams
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<RoutingParams> for RoutingParams
[src]
impl PartialEq<RoutingParams> for RoutingParams
[src]fn eq(&self, other: &RoutingParams) -> bool
[src]
fn ne(&self, other: &RoutingParams) -> bool
[src]
impl Serialize for RoutingParams
[src]
impl Serialize for RoutingParams
[src]impl StructuralPartialEq for RoutingParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for RoutingParams
impl Send for RoutingParams
impl Sync for RoutingParams
impl Unpin for RoutingParams
impl UnwindSafe for RoutingParams
Blanket Implementations
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>,