Trait pbcodec::traits::Map [] [src]

pub trait Map: Default {
    type Key: MapKey;
    type Value: FieldType;
    type IntoIter: Iterator<Item = (Self::Key, Self::Value)>;
    fn insert(&mut self, key: Self::Key, value: Self::Value);
fn into_iter(self) -> Self::IntoIter;
fn iter<'a>(
        &'a self
    ) -> Box<Iterator<Item = (&'a Self::Key, &'a Self::Value)> + 'a>; }

Associated Types

Required Methods

Implementors