pub enum TransitionUpdate {
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 RefUnwindSafe for TransitionUpdate
impl Send for TransitionUpdate
impl Sync for TransitionUpdate
impl Unpin for TransitionUpdate
impl UnwindSafe for TransitionUpdate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more