pub trait PageMap:
PageMapSlice
+ Index<Range<usize>, Output = Self::Slice>
+ IndexMut<Range<usize>> {
type Slice: ?Sized + PageMapSlice;
// Required method
fn from_bools(iter: impl Iterator<Item = bool>) -> Self;
// Provided method
fn from_residency_bytes(bytes: Vec<u8>) -> Self
where Self: Sized { ... }
}Required Associated Types§
type Slice: ?Sized + PageMapSlice
Required Methods§
fn from_bools(iter: impl Iterator<Item = bool>) -> Self
Provided Methods§
fn from_residency_bytes(bytes: Vec<u8>) -> Selfwhere
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".