pub struct RetainedEntry {
pub extent_px: (u32, u32),
pub scale: f32,
}Expand description
What the renderer holds for one resident page.
Fields§
§extent_px: (u32, u32)The page’s rasterized extent in physical pixels.
scale: f32The device scale the page was rasterized at.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.