Struct osm_proto_rs::osmformat::PrimitiveGroup
[−]
[src]
pub struct PrimitiveGroup { pub nodes: Vec<Node>, pub dense: Option<DenseNodes>, pub ways: Vec<Way>, pub relations: Vec<Relation>, pub changesets: Vec<ChangeSet>, }
Group of OSMPrimitives. All primitives in a group must be the same type.
Fields
nodes: Vec<Node>
dense: Option<DenseNodes>
ways: Vec<Way>
relations: Vec<Relation>
changesets: Vec<ChangeSet>
Trait Implementations
impl Clone for PrimitiveGroup
[src]
fn clone(&self) -> PrimitiveGroup
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
impl Debug for PrimitiveGroup
[src]
impl PartialEq for PrimitiveGroup
[src]
fn eq(&self, __arg_0: &PrimitiveGroup) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PrimitiveGroup) -> bool
This method tests for !=
.