Struct osm_proto_rs::osmformat::PrimitiveBlock [] [src]

pub struct PrimitiveBlock {
    pub stringtable: StringTable,
    pub primitivegroup: Vec<PrimitiveGroup>,
    pub granularity: Option<i32>,
    pub lat_offset: Option<i64>,
    pub lon_offset: Option<i64>,
    pub date_granularity: Option<i32>,
}

Fields

Granularity, units of nanodegrees, used to store coordinates in this block

Offset value between the output coordinates coordinates and the granularity grid in unites of nanodegrees.

Granularity of dates, normally represented in units of milliseconds since the 1970 epoch.

Methods

impl PrimitiveBlock
[src]

Trait Implementations

impl Clone for PrimitiveBlock
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PrimitiveBlock
[src]

Formats the value using the given formatter.

impl PartialEq for PrimitiveBlock
[src]

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

This method tests for !=.