Struct sanakirja_core::Page
source · #[repr(C)]pub struct Page<'a> {
pub data: &'a [u8; 4096],
pub offset: u64,
}
Expand description
Representation of a borrowed, or immutable page, like a slice in Rust.
Fields§
§data: &'a [u8; 4096]
§offset: u64
Trait Implementations§
impl<'a> Copy for Page<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Page<'a>
impl<'a> Send for Page<'a>
impl<'a> Sync for Page<'a>
impl<'a> Unpin for Page<'a>
impl<'a> UnwindSafe for Page<'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