[][src]Trait orga::collections::Entry

pub trait Entry {
    type Key: Encode + Decode;
    type Value: Encode + Decode;
    fn into_entry(self) -> (Self::Key, Self::Value);
fn from_entry(entry: (Self::Key, Self::Value)) -> Self; }

A trait for types which can be converted to or from a key/value pair.

Associated Types

Loading content...

Required methods

fn into_entry(self) -> (Self::Key, Self::Value)

fn from_entry(entry: (Self::Key, Self::Value)) -> Self

Loading content...

Implementors

Loading content...