pub enum TermDamage {
Full,
Partial(Vec<LineDamage>),
}Expand description
What changed since the last reset_damage().
Variants§
Full
The whole screen must be redrawn (flood / resize / alt-screen clear).
Partial(Vec<LineDamage>)
Only these lines changed, each carrying its damaged column span.
Trait Implementations§
Source§impl Clone for TermDamage
impl Clone for TermDamage
Source§fn clone(&self) -> TermDamage
fn clone(&self) -> TermDamage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TermDamage
impl Debug for TermDamage
impl Eq for TermDamage
Source§impl PartialEq for TermDamage
impl PartialEq for TermDamage
Source§fn eq(&self, other: &TermDamage) -> bool
fn eq(&self, other: &TermDamage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TermDamage
Auto Trait Implementations§
impl Freeze for TermDamage
impl RefUnwindSafe for TermDamage
impl Send for TermDamage
impl Sync for TermDamage
impl Unpin for TermDamage
impl UnsafeUnpin for TermDamage
impl UnwindSafe for TermDamage
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