Trait osmpbfreader::reader::StoreObjs
source · pub trait StoreObjs {
// Required methods
fn insert(&mut self, key: OsmId, value: OsmObj);
fn contains_key(&self, key: &OsmId) -> bool;
}
Expand description
Trait to allow generic objects (not just BTreeMap) in some methods.
Required Methods§
sourcefn contains_key(&self, key: &OsmId) -> bool
fn contains_key(&self, key: &OsmId) -> bool
Check if object contains the given key.