Struct skiplist_rs::List[][src]

pub struct List<T, V> where
    T: Display
{ pub header: Option<NonNull<Node<T, V>>>, pub tailer: Option<NonNull<Node<T, V>>>, pub len: usize, }

Fields

header: Option<NonNull<Node<T, V>>>tailer: Option<NonNull<Node<T, V>>>len: usize

记录链表中的节点数量,可以查看跳跃表每层的节点数量是否分布均匀

Implementations

寻找该层最适合插入的位置 除非链表是空的,否则不会返回空值

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.