pub enum RoadObjectType {
Show 29 variants
None,
Unknown,
Barrier,
GuardWall,
GuardRail,
Building,
Gantry,
Obstacle,
Pole,
TrafficIsland,
Tree,
Vegetation,
Pylon,
Delineator,
BikeStatic,
BusStatic,
CarStatic,
MotorbikeStatic,
Patch,
PedestrianStatic,
Railing,
RoadSurface,
SoundBarrier,
StreetLamp,
TrailerStatic,
TrainStatic,
TramStatic,
VanStatic,
Wind,
}Expand description
Defines the possible road object types.
Variants§
None
Unknown
Barrier
GuardWall
GuardRail
Building
Gantry
Obstacle
Pole
TrafficIsland
Tree
Vegetation
Pylon
Delineator
BikeStatic
BusStatic
CarStatic
MotorbikeStatic
Patch
PedestrianStatic
Railing
RoadSurface
SoundBarrier
StreetLamp
TrailerStatic
TrainStatic
TramStatic
VanStatic
Wind
Trait Implementations§
Source§impl Clone for RoadObjectType
impl Clone for RoadObjectType
Source§fn clone(&self) -> RoadObjectType
fn clone(&self) -> RoadObjectType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RoadObjectType
Source§impl Debug for RoadObjectType
impl Debug for RoadObjectType
Source§impl Display for RoadObjectType
impl Display for RoadObjectType
impl Eq for RoadObjectType
Source§impl FromStr for RoadObjectType
impl FromStr for RoadObjectType
Source§impl PartialEq for RoadObjectType
impl PartialEq for RoadObjectType
impl StructuralPartialEq for RoadObjectType
Auto Trait Implementations§
impl Freeze for RoadObjectType
impl RefUnwindSafe for RoadObjectType
impl Send for RoadObjectType
impl Sync for RoadObjectType
impl Unpin for RoadObjectType
impl UnsafeUnpin for RoadObjectType
impl UnwindSafe for RoadObjectType
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