Struct osm_xml::Way
[−]
[src]
pub struct Way { pub id: Id, pub tags: Vec<Tag>, pub nodes: Vec<UnresolvedReference>, }
Fields
id: Id
nodes: Vec<UnresolvedReference>
Methods
impl Way
[src]
fn is_polygon(&self) -> bool
Trait Implementations
impl Debug for Way
[src]
impl PartialEq for Way
[src]
fn eq(&self, __arg_0: &Way) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Way) -> bool
This method tests for !=
.
impl Clone for Way
[src]
fn clone(&self) -> Way
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more