fn invalidate(&self) {
        tracing::trace!("invalidate initiated");
        // This is one of 2 methods the user can use to schedule a repaint, the other is
        // `invalidate_rect`.
        let window_rect = self.logical_size.get().to_rect();
        self.damaged_region.borrow_mut().add_rect(window_rect);
        self.schedule_deferred_task(DeferredTask::Paint);
    }
/// Request invalidation of the entire window contents.
Request invalidation of the entire window contents.
Request invalidation of the entire window contents .
fn invalidate(&self) {
        tracing::trace!("invalidate initiated");
        // This is one of 2 methods the user can use to schedule a repaint, the other is
        // `invalidate_rect`.
        let window_rect = self.logical_size.get().to_rect();
        self.damaged_region.borrow_mut().add_rect(window_rect);
        self.schedule_deferred_task(DeferredTask::Paint);
    }
fn invalidate ( & self ) { tracing :: trace ! ( " " ) ; // This is one of 2 methods the user can use to schedule a repaint, the other is // `invalidate_rect`. let window_rect = self . logical_size . get ( ) . to_rect ( ) ; self . damaged_region . borrow_mut ( ) . add_rect ( window_rect ) ; self . schedule_deferred_task ( DeferredTask :: Paint ) ; }
Request invalidation of the entire window contents.
Request invalidation of the entire window contents .
&self
&self