[][src]Trait osmio::Relation

pub trait Relation: OSMObjBase {
    fn members<'a>(
        &'a self
    ) -> Box<dyn ExactSizeIterator<Item = (OSMObjectType, ObjId, &'a str)> + 'a>;
fn set_members(
        &mut self,
        members: impl IntoIterator<Item = (OSMObjectType, ObjId, impl Into<String>)>
    ); }

A Relation

Required methods

fn members<'a>(
    &'a self
) -> Box<dyn ExactSizeIterator<Item = (OSMObjectType, ObjId, &'a str)> + 'a>

fn set_members(
    &mut self,
    members: impl IntoIterator<Item = (OSMObjectType, ObjId, impl Into<String>)>
)

Loading content...

Implementors

impl Relation for RcRelation[src]

impl Relation for StringRelation[src]

Loading content...