Trait IndexType

Source
pub trait IndexType:
    Default
    + Debug
    + Copy
    + Eq
    + Ord { }
Expand description

Super trait for types that are supported as tree node, vertex and egde indices. This trait is implemented automatically for all types implementing the base traits

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> IndexType for T
where T: Default + Debug + Copy + Eq + Ord,