pub enum FrameAction {
Repaint,
Stop,
}Expand description
What the frame loop does at one tick.
Variants§
Repaint
Paint this tick and ask for another one.
Stop
Paint nothing and stop asking for frames until an event arrives.
Trait Implementations§
Source§impl Clone for FrameAction
impl Clone for FrameAction
impl Copy for FrameAction
Source§impl Debug for FrameAction
impl Debug for FrameAction
impl Eq for FrameAction
Source§impl PartialEq for FrameAction
impl PartialEq for FrameAction
impl StructuralPartialEq for FrameAction
Auto Trait Implementations§
impl Forget for FrameAction
impl Freeze for FrameAction
impl Move for FrameAction
impl RefUnwindSafe for FrameAction
impl Send for FrameAction
impl Sync for FrameAction
impl Unpin for FrameAction
impl UnsafeUnpin for FrameAction
impl UnwindSafe for FrameAction
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