pub struct DamageHistory { /* private fields */ }Expand description
What changed in one window’s recent frames. Keep one per window.
Implementations§
Source§impl DamageHistory
impl DamageHistory
Sourcepub fn new() -> DamageHistory
pub fn new() -> DamageHistory
A history with no frames yet; the first frame repaints everything.
Trait Implementations§
Source§impl Debug for DamageHistory
impl Debug for DamageHistory
Auto Trait Implementations§
impl Forget for DamageHistory
impl Freeze for DamageHistory
impl Move for DamageHistory
impl RefUnwindSafe for DamageHistory
impl Send for DamageHistory
impl Sync for DamageHistory
impl Unpin for DamageHistory
impl UnsafeUnpin for DamageHistory
impl UnwindSafe for DamageHistory
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