Struct osmpbfreader::objects::Node
source · pub struct Node {
pub id: NodeId,
pub tags: Tags,
pub decimicro_lat: i32,
pub decimicro_lon: i32,
}
Expand description
An OpenStreetMap node. See the OpenStreetMap wiki page about node for more information.
Fields§
§id: NodeId
The id of the node.
The tags of the node.
decimicro_lat: i32
The latitude in decimicro degrees (10⁻⁷ degrees).
decimicro_lon: i32
The longitude in decimicro degrees (10⁻⁷ degrees).
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
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 Ord for Node
impl Ord for Node
source§impl PartialEq for Node
impl PartialEq for Node
source§impl PartialOrd for Node
impl PartialOrd for Node
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 moreimpl Eq for Node
impl StructuralEq for Node
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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