Enum map_model::osm::RoadRank [−][src]
pub enum RoadRank { Local, Arterial, Highway, }
Variants
Implementations
impl RoadRank
[src]
impl RoadRank
[src]pub fn from_highway(hwy: &str) -> RoadRank
[src]
pub fn detailed_from_highway(hwy: &str) -> usize
[src]
Larger number means a bigger road, according to https://wiki.openstreetmap.org/wiki/Key:highway
Trait Implementations
impl PartialOrd<RoadRank> for RoadRank
[src]
impl PartialOrd<RoadRank> for RoadRank
[src]impl Copy for RoadRank
[src]
impl Eq for RoadRank
[src]
impl StructuralEq for RoadRank
[src]
impl StructuralPartialEq for RoadRank
[src]
Auto Trait Implementations
impl RefUnwindSafe for RoadRank
impl Send for RoadRank
impl Sync for RoadRank
impl Unpin for RoadRank
impl UnwindSafe for RoadRank
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,