pub enum Way {}
Expand description
A way is a tagged list of Nodes.
Implementations§
source§impl Way
impl Way
sourcepub fn nodes(&self) -> &WayNodeList
pub fn nodes(&self) -> &WayNodeList
Get the way’s nodes
sourcepub fn nodes_mut(&mut self) -> &mut WayNodeList
pub fn nodes_mut(&mut self) -> &mut WayNodeList
Get the mutable way’s nodes
Methods from Deref<Target = OSMObject>§
sourcepub fn positive_id(&self) -> u64
pub fn positive_id(&self) -> u64
Get absolute value of the ID of this object.
sourcepub fn user_is_anonymous(&self) -> bool
pub fn user_is_anonymous(&self) -> bool
Is this user anonymous?
Get the list of tags for this object.
Trait Implementations§
source§impl AsMut<Item> for Way
impl AsMut<Item> for Way
source§fn as_mut(&mut self) -> &mut Item
fn as_mut(&mut self) -> &mut Item
Cast to an crate::item::Item reference
source§impl AsMut<OSMObject> for Way
impl AsMut<OSMObject> for Way
source§fn as_mut(&mut self) -> &mut OSMObject
fn as_mut(&mut self) -> &mut OSMObject
Cast to an crate::object::OSMObject reference
source§impl AsRef<Item> for Way
impl AsRef<Item> for Way
source§fn as_ref(&self) -> &Item
fn as_ref(&self) -> &Item
Cast to an crate::item::Item reference
source§impl AsRef<OSMObject> for Way
impl AsRef<OSMObject> for Way
source§fn as_ref(&self) -> &OSMObject
fn as_ref(&self) -> &OSMObject
Cast to an crate::object::OSMObject reference