Trait osmio::Relation

source ·
pub trait Relation: OSMObjBase {
    // 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>)>
    );
}
Expand description

A Relation

Required Methods§

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§