Trait offset_allocator::NodeIndexNonMax

source ·
pub trait NodeIndexNonMax: Clone + Copy + PartialEq + Default + Debug + Display {
    // Required method
    fn to_usize(self) -> usize;
}
Expand description

The NonMax version of the NodeIndex.

For example, for u32, the NonMax version is NonMaxU32.

Required Methods§

source

fn to_usize(self) -> usize

Converts this type to an unsigned machine word.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NodeIndexNonMax for NonMaxU16

source§

impl NodeIndexNonMax for NonMaxU32

Implementors§