pub enum SideOfRoad {
Right,
Left,
}
Expand description
See https://wiki.openstreetmap.org/wiki/Forward_%26_backward,left%26_right.
Variants§
Trait Implementations§
Source§impl Clone for SideOfRoad
impl Clone for SideOfRoad
Source§fn clone(&self) -> SideOfRoad
fn clone(&self) -> SideOfRoad
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 SideOfRoad
impl Debug for SideOfRoad
Source§impl<'de> Deserialize<'de> for SideOfRoad
impl<'de> Deserialize<'de> for SideOfRoad
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 Hash for SideOfRoad
impl Hash for SideOfRoad
Source§impl Ord for SideOfRoad
impl Ord for SideOfRoad
Source§fn cmp(&self, other: &SideOfRoad) -> Ordering
fn cmp(&self, other: &SideOfRoad) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SideOfRoad
impl PartialEq for SideOfRoad
Source§impl PartialOrd for SideOfRoad
impl PartialOrd for SideOfRoad
Source§impl Serialize for SideOfRoad
impl Serialize for SideOfRoad
impl Copy for SideOfRoad
impl Eq for SideOfRoad
impl StructuralPartialEq for SideOfRoad
Auto Trait Implementations§
impl Freeze for SideOfRoad
impl RefUnwindSafe for SideOfRoad
impl Send for SideOfRoad
impl Sync for SideOfRoad
impl Unpin for SideOfRoad
impl UnwindSafe for SideOfRoad
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.