Struct map_model::connectivity::WalkingOptions
source · pub struct WalkingOptions {
pub allow_shoulders: bool,
pub walking_speed: Speed,
}
Fields§
§allow_shoulders: bool
If true, allow walking on shoulders.
walking_speed: Speed
Implementations§
source§impl WalkingOptions
impl WalkingOptions
pub fn default() -> WalkingOptions
pub fn common_speeds() -> Vec<(&'static str, Speed)>
pub fn default_speed() -> Speed
Trait Implementations§
source§impl Clone for WalkingOptions
impl Clone for WalkingOptions
source§fn clone(&self) -> WalkingOptions
fn clone(&self) -> WalkingOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for WalkingOptions
impl RefUnwindSafe for WalkingOptions
impl Send for WalkingOptions
impl Sync for WalkingOptions
impl Unpin for WalkingOptions
impl UnwindSafe for WalkingOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more