[][src]Struct osmpbf::block::PrimitiveGroup

pub struct PrimitiveGroup<'a> { /* fields omitted */ }

A PrimitiveGroup contains a sequence of elements of one type.

Implementations

impl<'a> PrimitiveGroup<'a>[src]

pub fn nodes(&self) -> GroupNodeIter<'a>

Notable traits for GroupNodeIter<'a>

impl<'a> Iterator for GroupNodeIter<'a> type Item = Node<'a>;
[src]

Returns an iterator over the nodes in this group.

pub fn dense_nodes(&self) -> DenseNodeIter<'a>

Notable traits for DenseNodeIter<'a>

impl<'a> Iterator for DenseNodeIter<'a> type Item = DenseNode<'a>;
[src]

Returns an iterator over the dense nodes in this group.

pub fn ways(&self) -> GroupWayIter<'a>

Notable traits for GroupWayIter<'a>

impl<'a> Iterator for GroupWayIter<'a> type Item = Way<'a>;
[src]

Returns an iterator over the ways in this group.

pub fn relations(&self) -> GroupRelationIter<'a>

Notable traits for GroupRelationIter<'a>

impl<'a> Iterator for GroupRelationIter<'a> type Item = Relation<'a>;
[src]

Returns an iterator over the relations in this group.

Trait Implementations

impl<'a> Clone for PrimitiveGroup<'a>[src]

impl<'a> Debug for PrimitiveGroup<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for PrimitiveGroup<'a>[src]

impl<'a> Send for PrimitiveGroup<'a>[src]

impl<'a> Sync for PrimitiveGroup<'a>[src]

impl<'a> Unpin for PrimitiveGroup<'a>[src]

impl<'a> UnwindSafe for PrimitiveGroup<'a>[src]

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> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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

type Owned = T

The resulting type after obtaining ownership.

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.