pub struct MapBorder {
pub i: IntersectionID,
pub pos: Pt2D,
pub gps_pos: LonLat,
pub weight: usize,
}
Fields§
§i: IntersectionID
§pos: Pt2D
§gps_pos: LonLat
§weight: usize
Based on the classification of the connecting road, a weight for how likely this border is to be used for traffic.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapBorder
impl RefUnwindSafe for MapBorder
impl Send for MapBorder
impl Sync for MapBorder
impl Unpin for MapBorder
impl UnwindSafe for MapBorder
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