pub enum MenuSound {
Move,
Select,
Cancel,
Denied,
}Expand description
The sounds the engine’s widgets and screens play: the same cue means the same thing on every screen.
Variants§
Move
The highlight moved.
Select
Something was confirmed or opened.
Cancel
Something was backed out of or closed.
Denied
Confirm on something that can’t be chosen, e.g. a greyed-out item.
Trait Implementations§
impl Copy for MenuSound
impl Eq for MenuSound
impl StructuralPartialEq for MenuSound
Auto Trait Implementations§
impl Freeze for MenuSound
impl RefUnwindSafe for MenuSound
impl Send for MenuSound
impl Sync for MenuSound
impl Unpin for MenuSound
impl UnsafeUnpin for MenuSound
impl UnwindSafe for MenuSound
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