pub struct Animation {
pub repaint: bool,
pub next: Wake,
}Expand description
What a widget reports back after Widget::animate.
Fields§
§repaint: booltrue if the widget’s appearance changed and it needs repainting.
next: WakeWhen the widget wants to be asked again — at the tree’s rate, at a particular time, or never.
Implementations§
Trait Implementations§
impl Copy for Animation
impl Eq for Animation
impl StructuralPartialEq for Animation
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnsafeUnpin for Animation
impl UnwindSafe for Animation
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