[][src]Struct convert_osm::Options

pub struct Options {
    pub osm_input: String,
    pub city_name: String,
    pub name: String,
    pub clip: Option<String>,
    pub map_config: MapConfig,
    pub onstreet_parking: OnstreetParking,
    pub public_offstreet_parking: PublicOffstreetParking,
    pub private_offstreet_parking: PrivateOffstreetParking,
    pub elevation: Option<String>,
    pub include_railroads: bool,
}

Fields

osm_input: Stringcity_name: Stringname: Stringclip: Option<String>

The path to an osmosis boundary polygon. Highly recommended.

map_config: MapConfigonstreet_parking: OnstreetParkingpublic_offstreet_parking: PublicOffstreetParkingprivate_offstreet_parking: PrivateOffstreetParkingelevation: Option<String>

If provided, pull elevation data from this SRTM file. The SRTM parser is incorrect, so the results will be nonsense.

include_railroads: bool

OSM railway=rail will be included as light rail if so. Cosmetic only.

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,