Struct osmpbfreader::osmformat::Way [] [src]

pub struct Way {
    // some 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 Debug for Way
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for Way
[src]

fn default() -> Way

Returns the "default value" for a type. Read more

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 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<()>

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>

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>

fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>

impl MessageStatic for Way
[src]

fn new() -> Way

fn descriptor_static(Option<Self>) -> &'static MessageDescriptor

impl Clear for Way
[src]

fn clear(&mut self)

impl PartialEq for Way
[src]

fn eq(&self, other: &Way) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.