Struct osmpbfreader::osmformat::Way
[−]
[src]
pub struct Way { /* fields omitted */ }
Methods
impl Way
[src]
fn new() -> Way
fn default_instance() -> &'static Way
fn clear_id(&mut self)
fn has_id(&self) -> bool
fn set_id(&mut self, v: i64)
fn get_id<'a>(&self) -> i64
fn clear_keys(&mut self)
fn set_keys(&mut self, v: Vec<u32>)
fn mut_keys<'a>(&'a mut self) -> &'a mut Vec<u32>
fn take_keys(&mut self) -> Vec<u32>
fn get_keys<'a>(&'a self) -> &'a [u32]
fn clear_vals(&mut self)
fn set_vals(&mut self, v: Vec<u32>)
fn mut_vals<'a>(&'a mut self) -> &'a mut Vec<u32>
fn take_vals(&mut self) -> Vec<u32>
fn get_vals<'a>(&'a self) -> &'a [u32]
fn clear_info(&mut self)
fn has_info(&self) -> bool
fn set_info(&mut self, v: Info)
fn mut_info<'a>(&'a mut self) -> &'a mut Info
fn take_info(&mut self) -> Info
fn get_info<'a>(&'a self) -> &'a Info
fn clear_refs(&mut self)
fn set_refs(&mut self, v: Vec<i64>)
fn mut_refs<'a>(&'a mut self) -> &'a mut Vec<i64>
fn take_refs(&mut self) -> Vec<i64>
fn get_refs<'a>(&'a self) -> &'a [i64]
Trait Implementations
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
impl Default for Way
[src]
impl Debug for Way
[src]
impl Sync for Way
[src]
impl Message for Way
[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<'s>(&'s self) -> &'s UnknownFields
fn mut_unknown_fields<'s>(&'s mut self) -> &'s mut UnknownFields
fn type_id(&self) -> TypeId
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 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>