pub struct Way {
pub id: Id,
pub tags: FnvHashMap<KString, KString>,
pub info: Option<Info>,
pub refs: Vec<Id>,
}
Expand description
Ordered list of Nodes
Fields§
§id: Id
§info: Option<Info>
§refs: Vec<Id>
Nodes in the way
In an open way, the first and last nodes differ. In a closed way, the first and last nodes are identical.
Implementations§
Trait Implementations§
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