pub trait ReasonableIntegerLike:
Default
+ Copy
+ Eq
+ Ord
+ Send
+ Sync
+ Debug
+ Hash {
// Required methods
fn fromusize(value: usize) -> Self;
fn tousize(self) -> usize;
}Expand description
Trait for data types suitable for use in CoordVec. Implemented for builtin unsigned integers, implement for other types at your own risk!
Required Methods§
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.