pub enum NameEvent {
Open,
Done,
Cancel,
}Expand description
What a key did in a name box or the name grid.
Variants§
Open
Still typing.
Done
The player kept the name: it is finished, not blank.
Cancel
The player asked to close it without keeping the name.
Trait Implementations§
impl Copy for NameEvent
impl Eq for NameEvent
impl StructuralPartialEq for NameEvent
Auto Trait Implementations§
impl Freeze for NameEvent
impl RefUnwindSafe for NameEvent
impl Send for NameEvent
impl Sync for NameEvent
impl Unpin for NameEvent
impl UnsafeUnpin for NameEvent
impl UnwindSafe for NameEvent
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