pub trait IndexableNum:
Sealed
+ Num
+ NumCast
+ PartialOrd
+ Debug
+ Send
+ Sync
+ Pod
+ Bounded {
const TYPE_INDEX: u8;
const BYTES_PER_ELEMENT: usize;
}
Expand description
Required Associated Constants§
Sourceconst TYPE_INDEX: u8
const TYPE_INDEX: u8
The type index to match the array order of ARRAY_TYPES
in flatbush JS
Sourceconst BYTES_PER_ELEMENT: usize
const BYTES_PER_ELEMENT: usize
The number of bytes per element
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.