pub enum KeyPrompt {
Off,
Waiting,
Pressed,
}Expand description
The “press any key or button” wait (Ctx::key_prompt): browsers
block sound until the player presses a key.
Variants§
Off
No prompt (tests that start at a menu).
Waiting
Nothing pressed yet: a screen shows the prompt.
Pressed
A key or a controller button has been pressed (on any screen).
Trait Implementations§
impl Copy for KeyPrompt
impl Eq for KeyPrompt
impl StructuralPartialEq for KeyPrompt
Auto Trait Implementations§
impl Freeze for KeyPrompt
impl RefUnwindSafe for KeyPrompt
impl Send for KeyPrompt
impl Sync for KeyPrompt
impl Unpin for KeyPrompt
impl UnsafeUnpin for KeyPrompt
impl UnwindSafe for KeyPrompt
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