pub trait Index: Copy {
// Required methods
fn into_usize(self) -> usize;
fn from_usize(v: usize) -> Self;
}Expand description
Index of a vertex
Required Methods§
fn into_usize(self) -> usize
fn from_usize(v: usize) -> Self
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.