Trait ListIndexEntry

Source
pub trait ListIndexEntry: Readable + Writeable {
    type Pos: PosEntry;

    // Required method
    fn get_pos(&self) -> Self::Pos;
}
Expand description

Entry maintained in the list index.

Required Associated Types§

Source

type Pos: PosEntry

Type of the underlying pos indexed in the list.

Required Methods§

Source

fn get_pos(&self) -> Self::Pos

Accessor for the underlying pos.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> ListIndexEntry for ListEntry<T>
where T: PosEntry,

Source§

type Pos = T