pub enum RoadType {
Major,
Minor,
}Expand description
Classification of a road segment.
Variants§
Trait Implementations§
impl Copy for RoadType
Source§impl<'de> Deserialize<'de> for RoadType
impl<'de> Deserialize<'de> for RoadType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RoadType
impl StructuralPartialEq for RoadType
Auto Trait Implementations§
impl Freeze for RoadType
impl RefUnwindSafe for RoadType
impl Send for RoadType
impl Sync for RoadType
impl Unpin for RoadType
impl UnsafeUnpin for RoadType
impl UnwindSafe for RoadType
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