pub enum FrameDamage {
Untracked,
Skipped,
Full,
Part(WindowRects),
}Expand description
The window pixels a frame changes against the frame the renderer’s composition target kept.
Variants§
Untracked
The frame drew straight into the presentable image, which keeps no earlier frame, or was a screenshot, drawn whole.
Skipped
Recent frames changed most of the window, so the frame skipped comparing.
Full
The whole window: the target kept no frame to compare with, or the frame changes most of it.
Part(WindowRects)
Only the pixels of these rects; none when nothing changes.
Trait Implementations§
Source§impl Clone for FrameDamage
impl Clone for FrameDamage
impl Copy for FrameDamage
Source§impl Debug for FrameDamage
impl Debug for FrameDamage
Source§impl Default for FrameDamage
impl Default for FrameDamage
impl Eq for FrameDamage
Source§impl PartialEq for FrameDamage
impl PartialEq for FrameDamage
impl StructuralPartialEq for FrameDamage
Auto Trait Implementations§
impl Forget for FrameDamage
impl Freeze for FrameDamage
impl RefUnwindSafe for FrameDamage
impl Send for FrameDamage
impl Sync for FrameDamage
impl Unpin for FrameDamage
impl UnsafeUnpin for FrameDamage
impl UnwindSafe for FrameDamage
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.