pub struct Damage {
pub rects: Vec<Rect>,
pub all: bool,
}Expand description
What an update to a drawing touched, in the design’s coordinates: each
chunk it changed, where it was and where it is — and the strips the
drawing’s area gained or lost. all when the area’s top-left moved, which
moves every tile.
Fields§
§rects: Vec<Rect>§all: boolTrait Implementations§
impl StructuralPartialEq for Damage
Auto Trait Implementations§
impl Freeze for Damage
impl RefUnwindSafe for Damage
impl Send for Damage
impl Sync for Damage
impl Unpin for Damage
impl UnsafeUnpin for Damage
impl UnwindSafe for Damage
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