Enum libosmium::Node

source ·
pub enum Node {}
Expand description

A Node is some point on the map with associated tags.

Implementations§

Get the node’s location

set the node’s location

Methods from Deref<Target = OSMObject>§

Get ID of this object.

Get absolute value of the ID of this object.

Is this object marked as deleted?

Is this object marked visible (ie not deleted)?

Get version of this object.

Get user id of this object.

Is this user anonymous?

Get timestamp when this object last changed.

Get user name for this object.

Get the list of tags for this object.

Trait Implementations§

Cast to an crate::item::Item reference

Cast to an crate::object::OSMObject reference

Cast to an crate::item::Item reference

Cast to an crate::object::OSMObject reference

Cast to an [$crate :: object :: OSMObject] reference

The resulting type after dereferencing.

Cast to an [$crate :: object :: OSMObject] reference

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.