pub enum DialogMode {
Typing,
Paused,
WaitingForInput,
Scrolling,
Done,
}Expand description
The current operational mode of the dialog engine.
Variants§
Typing
Characters are being typed out, one per frame.
Paused
The text engine is paused (e.g. a TX_PAUSE delay).
WaitingForInput
Waiting for the player to press A to continue.
Scrolling
Waiting for the player to press A after a scroll prompt.
Done
The dialog has ended.
Trait Implementations§
Source§impl Clone for DialogMode
impl Clone for DialogMode
Source§fn clone(&self) -> DialogMode
fn clone(&self) -> DialogMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DialogMode
Source§impl Debug for DialogMode
impl Debug for DialogMode
impl Eq for DialogMode
Source§impl PartialEq for DialogMode
impl PartialEq for DialogMode
impl StructuralPartialEq for DialogMode
Auto Trait Implementations§
impl Freeze for DialogMode
impl RefUnwindSafe for DialogMode
impl Send for DialogMode
impl Sync for DialogMode
impl Unpin for DialogMode
impl UnsafeUnpin for DialogMode
impl UnwindSafe for DialogMode
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