[][src]Trait grin_chain::linked_list::ListIndexEntry

pub trait ListIndexEntry: Readable + Writeable {
    type Pos: PosEntry;
    pub fn get_pos(&self) -> Self::Pos;
}

Entry maintained in the list index.

Associated Types

type Pos: PosEntry[src]

Type of the underlying pos indexed in the list.

Loading content...

Required methods

pub fn get_pos(&self) -> Self::Pos[src]

Accessor for the underlying pos.

Loading content...

Implementors

impl<T> ListIndexEntry for ListEntry<T> where
    T: PosEntry
[src]

type Pos = T

pub fn get_pos(&self) -> Self::Pos[src]

Read the common pos from the various enum variants.

Loading content...