Enum map_model::osm::OsmID[][src]

pub enum OsmID {
    Node(NodeID),
    Way(WayID),
    Relation(RelationID),
}

Variants

Node(NodeID)
Way(WayID)
Relation(RelationID)

Implementations

impl OsmID[src]

pub fn inner(self) -> i64[src]

Trait Implementations

impl Clone for OsmID[src]

impl Copy for OsmID[src]

impl Debug for OsmID[src]

impl<'de> Deserialize<'de> for OsmID[src]

impl Display for OsmID[src]

impl Eq for OsmID[src]

impl Hash for OsmID[src]

impl Ord for OsmID[src]

impl PartialEq<OsmID> for OsmID[src]

impl PartialOrd<OsmID> for OsmID[src]

impl Serialize for OsmID[src]

impl StructuralEq for OsmID[src]

impl StructuralPartialEq for OsmID[src]

Auto Trait Implementations

impl RefUnwindSafe for OsmID

impl Send for OsmID

impl Sync for OsmID

impl Unpin for OsmID

impl UnwindSafe for OsmID

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<N> NodeTrait for N where
    N: Copy + Ord + Hash
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,