Enum map_model::DrivingSide
pub enum DrivingSide {
Right,
Left,
}
Variants§
Trait Implementations§
§impl Clone for DrivingSide
impl Clone for DrivingSide
§fn clone(&self) -> DrivingSide
fn clone(&self) -> DrivingSide
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 more§impl Debug for DrivingSide
impl Debug for DrivingSide
§impl<'de> Deserialize<'de> for DrivingSide
impl<'de> Deserialize<'de> for DrivingSide
§fn deserialize<__D>(
__deserializer: __D
) -> Result<DrivingSide, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<DrivingSide, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for DrivingSide
impl PartialEq for DrivingSide
§fn eq(&self, other: &DrivingSide) -> bool
fn eq(&self, other: &DrivingSide) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for DrivingSide
impl Serialize for DrivingSide
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for DrivingSide
impl StructuralPartialEq 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