Struct osmpbfreader::osmformat::PrimitiveGroup
[−]
[src]
pub struct PrimitiveGroup { /* fields omitted */ }
Methods
impl PrimitiveGroup
[src]
fn new() -> PrimitiveGroup
fn default_instance() -> &'static PrimitiveGroup
fn clear_nodes(&mut self)
fn set_nodes(&mut self, v: RepeatedField<Node>)
fn mut_nodes(&mut self) -> &mut RepeatedField<Node>
fn take_nodes(&mut self) -> RepeatedField<Node>
fn get_nodes(&self) -> &[Node]
fn clear_dense(&mut self)
fn has_dense(&self) -> bool
fn set_dense(&mut self, v: DenseNodes)
fn mut_dense(&mut self) -> &mut DenseNodes
fn take_dense(&mut self) -> DenseNodes
fn get_dense(&self) -> &DenseNodes
fn clear_ways(&mut self)
fn set_ways(&mut self, v: RepeatedField<Way>)
fn mut_ways(&mut self) -> &mut RepeatedField<Way>
fn take_ways(&mut self) -> RepeatedField<Way>
fn get_ways(&self) -> &[Way]
fn clear_relations(&mut self)
fn set_relations(&mut self, v: RepeatedField<Relation>)
fn mut_relations(&mut self) -> &mut RepeatedField<Relation>
fn take_relations(&mut self) -> RepeatedField<Relation>
fn get_relations(&self) -> &[Relation]
fn clear_changesets(&mut self)
fn set_changesets(&mut self, v: RepeatedField<ChangeSet>)
fn mut_changesets(&mut self) -> &mut RepeatedField<ChangeSet>
fn take_changesets(&mut self) -> RepeatedField<ChangeSet>
fn get_changesets(&self) -> &[ChangeSet]
Trait Implementations
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 !=
.
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 Default for PrimitiveGroup
[src]
fn default() -> PrimitiveGroup
Returns the "default value" for a type. Read more
impl Debug for PrimitiveGroup
[src]
impl Sync for PrimitiveGroup
[src]
impl Message for PrimitiveGroup
[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(&self,
os: &mut CodedOutputStream)
-> ProtobufResult<()>
os: &mut CodedOutputStream)
-> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &Any
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_length_delimited_to(&self,
os: &mut CodedOutputStream)
-> Result<(), ProtobufError>
os: &mut CodedOutputStream)
-> Result<(), ProtobufError>
fn write_length_delimited_to_vec(&self,
vec: &mut Vec<u8>)
-> Result<(), ProtobufError>
vec: &mut Vec<u8>)
-> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(&self,
w: &mut Write)
-> Result<(), ProtobufError>
w: &mut Write)
-> Result<(), ProtobufError>