pub enum RoadObjectType {
Show 13 variants
Unknown,
Barrier,
GuardWall,
GuardRail,
Building,
Gantry,
Obstacle,
Pole,
TrafficIsland,
Tree,
Vegetation,
Pylon,
Delineator,
}Expand description
Defines the possible road object types.
Variants§
Unknown
Barrier
GuardWall
GuardRail
Building
Gantry
Obstacle
Pole
TrafficIsland
Tree
Vegetation
Pylon
Delineator
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
Source§fn eq(&self, other: &RoadObjectType) -> bool
fn eq(&self, other: &RoadObjectType) -> bool
Tests for
self and other values to be equal, and is used by ==.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