pub struct Way {
pub id: WayId,
pub tags: Tags,
pub nodes: Vec<NodeId>,
}Expand description
An OpenStreetMap way. See the OpenStreetMap wiki page about way for more information.
Fields§
§id: WayIdThe id of the way.
The tags of the way.
nodes: Vec<NodeId>The ordered list of nodes as id.
Implementations§
Trait Implementations§
Source§impl Ord for Way
impl Ord for Way
Source§impl PartialOrd for Way
impl PartialOrd for Way
impl Eq for Way
impl StructuralPartialEq for Way
Auto Trait Implementations§
impl Freeze for Way
impl RefUnwindSafe for Way
impl Send for Way
impl Sync for Way
impl Unpin for Way
impl UnwindSafe for Way
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