pub trait Offset: Copy {
// Required method
fn to_usize(self) -> usize;
// Provided method
fn non_null(self) -> Option<usize> { ... }
}
Expand description
Any offset type.
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.