pub enum TransitionControl {
Immediate,
Update,
WaitForEvent,
}Expand description
Desired behavior for the next update, to be returned from an update call.
Variants§
Immediate
Run the next update immediately, without waiting for the next frame.
Update
Wait a frame before the next update; this will likely draw the mode for a frame.
WaitForEvent
Wait for an input event before the next update; this will likely draw the mode before waiting.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransitionControl
impl RefUnwindSafe for TransitionControl
impl Send for TransitionControl
impl Sync for TransitionControl
impl Unpin for TransitionControl
impl UnwindSafe for TransitionControl
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