#[repr(u32)]pub enum HighwayDirection {
EastToWest = 1,
WestToEast = 2,
Unknown = 3,
}
Variants§
Trait Implementations§
source§impl Clone for HighwayDirection
impl Clone for HighwayDirection
source§fn clone(&self) -> HighwayDirection
fn clone(&self) -> HighwayDirection
Returns a copy 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 HighwayDirection
impl Debug for HighwayDirection
source§impl Default for HighwayDirection
impl Default for HighwayDirection
source§fn default() -> HighwayDirection
fn default() -> HighwayDirection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HighwayDirection
impl<'de> Deserialize<'de> for HighwayDirection
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
source§impl PartialEq for HighwayDirection
impl PartialEq for HighwayDirection
source§fn eq(&self, other: &HighwayDirection) -> bool
fn eq(&self, other: &HighwayDirection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HighwayDirection
impl Serialize for HighwayDirection
impl StructuralPartialEq for HighwayDirection
Auto Trait Implementations§
impl RefUnwindSafe for HighwayDirection
impl Send for HighwayDirection
impl Sync for HighwayDirection
impl Unpin for HighwayDirection
impl UnwindSafe for HighwayDirection
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