pub struct Update {
pub resized: bool,
pub dirty: Rect,
}Expand description
What changed since the last Client::take_update.
Fields§
§resized: boolThe size changed (re-create a texture rather than patch it).
dirty: RectThe changed area (all of it after a resize).
Trait Implementations§
impl Copy for Update
impl Eq for Update
impl StructuralPartialEq for Update
Auto Trait Implementations§
impl Forget for Update
impl Freeze for Update
impl Move for Update
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnsafeUnpin for Update
impl UnwindSafe for Update
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