Enum osmio::OSMObjectType
source · 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 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 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§fn eq(&self, other: &OSMObjectType) -> bool
fn eq(&self, other: &OSMObjectType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OSMObjectType
impl PartialOrd for OSMObjectType
source§fn partial_cmp(&self, other: &OSMObjectType) -> Option<Ordering>
fn partial_cmp(&self, other: &OSMObjectType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§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 StructuralEq for OSMObjectType
impl StructuralPartialEq for OSMObjectType
Auto Trait Implementations§
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