pub trait TableKey: Copy {
// Required methods
fn new(index: usize) -> Self;
fn invalid() -> Self;
fn index(self) -> usize;
fn is_invalid(self) -> bool;
}Expand description
An opaque key to uniquely identify a table entry.
Required Methods§
Sourcefn is_invalid(self) -> bool
fn is_invalid(self) -> bool
Return whether this table key is invalid.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".