struct BitmapHex<'a> {
bitmap: &'a [u64],
total_pages: usize,
}Expand description
core::fmt::Display adapter that prints a page-bitmap (little-endian
per byte within each u64 word) as a compact hex string. One hex char per
4 pages, so a full 2 MB / 4 KB = 512-page chunk fits in 128 hex chars.
Fields§
§bitmap: &'a [u64]§total_pages: usizeTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for BitmapHex<'a>
impl<'a> RefUnwindSafe for BitmapHex<'a>
impl<'a> Send for BitmapHex<'a>
impl<'a> Sync for BitmapHex<'a>
impl<'a> Unpin for BitmapHex<'a>
impl<'a> UnsafeUnpin for BitmapHex<'a>
impl<'a> UnwindSafe for BitmapHex<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more