pub enum ObstacleKind {
Pedestrian,
Vehicle,
Transit,
Static,
}Expand description
Kind of an obstacle, used for priority and styling.
Variants§
Pedestrian
Individual pedestrian or cyclist body.
Vehicle
Road vehicle (car, taxi, van).
Transit
Public-transit vehicle (bus, tram, metro, train).
Static
Static fixed object (kerb, bollard, furniture).
Trait Implementations§
Source§impl Clone for ObstacleKind
impl Clone for ObstacleKind
Source§fn clone(&self) -> ObstacleKind
fn clone(&self) -> ObstacleKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObstacleKind
impl Debug for ObstacleKind
Source§impl Hash for ObstacleKind
impl Hash for ObstacleKind
Source§impl PartialEq for ObstacleKind
impl PartialEq for ObstacleKind
impl Copy for ObstacleKind
impl Eq for ObstacleKind
impl StructuralPartialEq for ObstacleKind
Auto Trait Implementations§
impl Freeze for ObstacleKind
impl RefUnwindSafe for ObstacleKind
impl Send for ObstacleKind
impl Sync for ObstacleKind
impl Unpin for ObstacleKind
impl UnsafeUnpin for ObstacleKind
impl UnwindSafe for ObstacleKind
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