pub enum RoadClass {
Motorway,
Trunk,
Primary,
Secondary,
Tertiary,
Residential,
Service,
Path,
Unclassified,
}Expand description
Road classification for routing
Variants§
Motorway
Motorway / highway
Trunk
Trunk road
Primary
Primary road
Secondary
Secondary road
Tertiary
Tertiary road
Residential
Residential road
Service
Service road
Path
Footpath / cycleway
Unclassified
Unclassified
Trait Implementations§
impl Copy for RoadClass
impl Eq for RoadClass
impl StructuralPartialEq for RoadClass
Auto Trait Implementations§
impl Freeze for RoadClass
impl RefUnwindSafe for RoadClass
impl Send for RoadClass
impl Sync for RoadClass
impl Unpin for RoadClass
impl UnsafeUnpin for RoadClass
impl UnwindSafe for RoadClass
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more