Trait 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.

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.

Implementations on Foreign Types§

Source§

impl NodeIndexNonMax for NonMaxU16

Source§

impl NodeIndexNonMax for NonMaxU32

Implementors§