KeyedElement

Type Alias KeyedElement 

Source
pub type KeyedElement<Message> = Element<Keyed<Message>>;

Aliased Type§

pub struct KeyedElement<Message> { /* private fields */ }

Implementations§

Source§

impl<Message: 'static> KeyedElement<Message>

Source

pub fn push<N: Into<Node<Message>>>(self, key: u64, node: N) -> Self

Source

pub fn append<N: Into<Node<Message>>, I: IntoIterator<Item = (u64, N)>>( self, i: I, ) -> Self

Source

pub fn map<NewMessage: 'static>( self, f: impl Fn(Message) -> NewMessage + 'static, ) -> KeyedElement<NewMessage>