pub enum TextKey {
Done,
Delete,
Cancel,
}Expand description
A text box’s own keys (the lead’s name, 0801): fixed like Escape for
Cancel, since while a player types, every letter key is a letter.
Variants§
Done
Enter: keep the text.
Delete
Backspace: delete the last character.
Cancel
Escape: close the box, text unchanged.
Trait Implementations§
impl Copy for TextKey
impl Eq for TextKey
impl StructuralPartialEq for TextKey
Auto Trait Implementations§
impl Freeze for TextKey
impl RefUnwindSafe for TextKey
impl Send for TextKey
impl Sync for TextKey
impl Unpin for TextKey
impl UnsafeUnpin for TextKey
impl UnwindSafe for TextKey
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