Struct convert_osm::split_ways::Output
source · [−]pub struct Output {
pub amenities: Vec<(Pt2D, Amenity)>,
pub crosswalks: HashSet<HashablePt2D>,
pub pt_to_road: HashMap<HashablePt2D, OriginalRoad>,
}
Fields
amenities: Vec<(Pt2D, Amenity)>
crosswalks: HashSet<HashablePt2D>
pt_to_road: HashMap<HashablePt2D, OriginalRoad>
A mapping of all points to the split road. Some internal points on roads get removed in
split_up_roads
, so this mapping isn’t redundant.
Auto Trait Implementations
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self