pub trait IntWithMax:
TryInto<usize>
+ TryFrom<usize>
+ Copy
+ Default
+ PartialEq
+ Ord
+ AddAssign
+ SubAssign {
const MAX: Self;
// Provided methods
fn to_usize(self) -> usize { ... }
fn from_usize(x: usize) -> Self { ... }
fn one() -> Self { ... }
}Expand description
A trait facilitating COITree index types.
Required Associated Constants§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".