pub enum DrivingSide {
Left,
Right,
}
Expand description
The legal driving side at a location
Variants§
Trait Implementations§
Source§impl Clone for DrivingSide
impl Clone for DrivingSide
Source§fn clone(&self) -> DrivingSide
fn clone(&self) -> DrivingSide
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DrivingSide
impl Debug for DrivingSide
Source§impl<'de> Deserialize<'de> for DrivingSide
impl<'de> Deserialize<'de> for DrivingSide
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 Display for DrivingSide
impl Display for DrivingSide
Auto Trait Implementations§
impl Freeze for DrivingSide
impl RefUnwindSafe for DrivingSide
impl Send for DrivingSide
impl Sync for DrivingSide
impl Unpin for DrivingSide
impl UnwindSafe for DrivingSide
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