pub struct RetainedEntry {
pub key: u64,
pub extent_px: (u32, u32),
pub scale: f32,
}Expand description
One resident page as the resident-key ledger reports it.
Fields§
§key: u64The raw key the page was recorded under.
extent_px: (u32, u32)The extent the bracket’s rectangle covered when the page was rendered, in device pixels.
scale: f32The scale the page was rasterized at — device scale and presentation
scale together (see RetainedPlacement::scale).
Trait Implementations§
Source§impl Clone for RetainedEntry
impl Clone for RetainedEntry
impl Copy for RetainedEntry
Source§impl Debug for RetainedEntry
impl Debug for RetainedEntry
Source§impl PartialEq for RetainedEntry
impl PartialEq for RetainedEntry
impl StructuralPartialEq for RetainedEntry
Auto Trait Implementations§
impl Freeze for RetainedEntry
impl RefUnwindSafe for RetainedEntry
impl Send for RetainedEntry
impl Sync for RetainedEntry
impl Unpin for RetainedEntry
impl UnsafeUnpin for RetainedEntry
impl UnwindSafe for RetainedEntry
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