Struct osmpbf::block::PrimitiveGroup
source · pub struct PrimitiveGroup<'a> { /* private fields */ }
Expand description
A PrimitiveGroup
contains a sequence of elements of one type.
Implementations§
source§impl<'a> PrimitiveGroup<'a>
impl<'a> PrimitiveGroup<'a>
sourcepub fn nodes(&self) -> GroupNodeIter<'a> ⓘ
pub fn nodes(&self) -> GroupNodeIter<'a> ⓘ
Returns an iterator over the nodes in this group.
sourcepub fn dense_nodes(&self) -> DenseNodeIter<'a> ⓘ
pub fn dense_nodes(&self) -> DenseNodeIter<'a> ⓘ
Returns an iterator over the dense nodes in this group.
sourcepub fn ways(&self) -> GroupWayIter<'a> ⓘ
pub fn ways(&self) -> GroupWayIter<'a> ⓘ
Returns an iterator over the ways in this group.
sourcepub fn relations(&self) -> GroupRelationIter<'a> ⓘ
pub fn relations(&self) -> GroupRelationIter<'a> ⓘ
Returns an iterator over the relations in this group.
Trait Implementations§
source§impl<'a> Clone for PrimitiveGroup<'a>
impl<'a> Clone for PrimitiveGroup<'a>
source§fn clone(&self) -> PrimitiveGroup<'a>
fn clone(&self) -> PrimitiveGroup<'a>
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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for PrimitiveGroup<'a>
impl<'a> Send for PrimitiveGroup<'a>
impl<'a> Sync for PrimitiveGroup<'a>
impl<'a> Unpin for PrimitiveGroup<'a>
impl<'a> UnwindSafe for PrimitiveGroup<'a>
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