pub struct DrawableInvalidator { /* private fields */ }Expand description
A weak invalidation handle that does not keep its CustomDrawable alive.
Implementations§
Source§impl DrawableInvalidator
impl DrawableInvalidator
Sourcepub fn mark_dirty(&self)
pub fn mark_dirty(&self)
Schedules a redraw if the associated drawable is still mounted.
Trait Implementations§
Source§impl Clone for DrawableInvalidator
impl Clone for DrawableInvalidator
Source§fn clone(&self) -> DrawableInvalidator
fn clone(&self) -> DrawableInvalidator
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for DrawableInvalidator
impl !Send for DrawableInvalidator
impl !Sync for DrawableInvalidator
impl !UnwindSafe for DrawableInvalidator
impl Freeze for DrawableInvalidator
impl Unpin for DrawableInvalidator
impl UnsafeUnpin for DrawableInvalidator
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