pub struct PageSet { /* private fields */ }Expand description
The set of consensus 4 KiB pages a single width-byte access at
addr touches: the base page, plus the next page iff the access
straddles a page boundary. At most crate::gas_const::MAX_PAGES_PER_ACCESS
(= 2) pages. Pages are ordered low → high — the fixed order both
engines iterate, so the charged page set and total match exactly.
Implementations§
Trait Implementations§
impl Copy for PageSet
impl Eq for PageSet
impl StructuralPartialEq for PageSet
Auto Trait Implementations§
impl Freeze for PageSet
impl RefUnwindSafe for PageSet
impl Send for PageSet
impl Sync for PageSet
impl Unpin for PageSet
impl UnsafeUnpin for PageSet
impl UnwindSafe for PageSet
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