Struct osmpbfreader::osmformat::PrimitiveBlock [] [src]

pub struct PrimitiveBlock {
    // some fields omitted
}

Methods

impl PrimitiveBlock
[src]

fn new() -> PrimitiveBlock

fn default_instance() -> &'static PrimitiveBlock

fn clear_stringtable(&mut self)

fn has_stringtable(&self) -> bool

fn set_stringtable(&mut self, v: StringTable)

fn mut_stringtable<'a>(&'a mut self) -> &'a mut StringTable

fn take_stringtable(&mut self) -> StringTable

fn get_stringtable<'a>(&'a self) -> &'a StringTable

fn clear_primitivegroup(&mut self)

fn set_primitivegroup(&mut self, v: RepeatedField<PrimitiveGroup>)

fn mut_primitivegroup<'a>(&'a mut self) -> &'a mut RepeatedField<PrimitiveGroup>

fn take_primitivegroup(&mut self) -> RepeatedField<PrimitiveGroup>

fn get_primitivegroup<'a>(&'a self) -> &'a [PrimitiveGroup]

fn clear_granularity(&mut self)

fn has_granularity(&self) -> bool

fn set_granularity(&mut self, v: i32)

fn get_granularity<'a>(&self) -> i32

fn clear_lat_offset(&mut self)

fn has_lat_offset(&self) -> bool

fn set_lat_offset(&mut self, v: i64)

fn get_lat_offset<'a>(&self) -> i64

fn clear_lon_offset(&mut self)

fn has_lon_offset(&self) -> bool

fn set_lon_offset(&mut self, v: i64)

fn get_lon_offset<'a>(&self) -> i64

fn clear_date_granularity(&mut self)

fn has_date_granularity(&self) -> bool

fn set_date_granularity(&mut self, v: i32)

fn get_date_granularity<'a>(&self) -> i32

Trait Implementations

impl Debug for PrimitiveBlock
[src]

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

Formats the value using the given formatter.

impl Default for PrimitiveBlock
[src]

fn default() -> PrimitiveBlock

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

impl Clone for PrimitiveBlock
[src]

fn clone(&self) -> PrimitiveBlock

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 Message for PrimitiveBlock
[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 PrimitiveBlock
[src]

fn new() -> PrimitiveBlock

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

impl Clear for PrimitiveBlock
[src]

fn clear(&mut self)

impl PartialEq for PrimitiveBlock
[src]

fn eq(&self, other: &PrimitiveBlock) -> 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 !=.