pub(crate) trait Size {
// Required method
fn is_64_bit() -> bool;
// Provided method
fn is_same_size<T: Size>() -> bool { ... }
}
Expand description
Trait for the “size class”. Either u32 or u64 depending on the index size needed to address an entry’s indes in self.entries.
Required Methods§
Provided Methods§
fn is_same_size<T: Size>() -> bool
Object Safety§
This trait is not object safe.