pub enum OSMObjectType {
Node,
Way,
Relation,
}
Expand description
A Node, Way or Relation
Variants§
Implementations§
Source§impl OSMObjectType
impl OSMObjectType
Trait Implementations§
Source§impl Clone for OSMObjectType
impl Clone for OSMObjectType
Source§fn clone(&self) -> OSMObjectType
fn clone(&self) -> OSMObjectType
Returns a duplicate 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 OSMObjectType
impl Debug for OSMObjectType
Source§impl<'de> Deserialize<'de> for OSMObjectType
impl<'de> Deserialize<'de> for OSMObjectType
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 OSMObjectType
impl Display for OSMObjectType
Source§impl FromStr for OSMObjectType
impl FromStr for OSMObjectType
Source§impl Ord for OSMObjectType
impl Ord for OSMObjectType
Source§fn cmp(&self, other: &OSMObjectType) -> Ordering
fn cmp(&self, other: &OSMObjectType) -> 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 OSMObjectType
impl PartialEq for OSMObjectType
Source§impl PartialOrd for OSMObjectType
impl PartialOrd for OSMObjectType
Source§impl Serialize for OSMObjectType
impl Serialize for OSMObjectType
Source§impl TryFrom<char> for OSMObjectType
impl TryFrom<char> for OSMObjectType
impl Copy for OSMObjectType
impl Eq for OSMObjectType
impl StructuralPartialEq for OSMObjectType
Auto Trait Implementations§
impl Freeze for OSMObjectType
impl RefUnwindSafe for OSMObjectType
impl Send for OSMObjectType
impl Sync for OSMObjectType
impl Unpin for OSMObjectType
impl UnwindSafe for OSMObjectType
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