pub enum StatusLine {
Hint,
Error(String),
Success(String),
}Expand description
One line of the status area inside the game box.
Variants§
Hint
Shown while a snippet is being typed (modest, dim guidance).
Error(String)
Shown after a failed attempt; asks for retry or skip.
Success(String)
Shown right after a correct attempt.
Trait Implementations§
Source§impl Clone for StatusLine
impl Clone for StatusLine
Source§impl Debug for StatusLine
impl Debug for StatusLine
impl Eq for StatusLine
Source§impl PartialEq for StatusLine
impl PartialEq for StatusLine
impl StructuralPartialEq for StatusLine
Auto Trait Implementations§
impl Forget for StatusLine
impl Freeze for StatusLine
impl RefUnwindSafe for StatusLine
impl Send for StatusLine
impl Sync for StatusLine
impl Unpin for StatusLine
impl UnsafeUnpin for StatusLine
impl UnwindSafe for StatusLine
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