pub enum DialogueResult<S> {
Next(S),
Exit,
}
Available on crate feature
dialogue
only.Expand description
Represents a result of a dialogue handler.
Variants§
Next(S)
Indicates the next step of the dialogue containing the current value of the state.
Exit
Indicates an exit from the dialogue.
Trait Implementations§
Source§impl<S: Debug> Debug for DialogueResult<S>
impl<S: Debug> Debug for DialogueResult<S>
Source§impl<S> From<S> for DialogueResult<S>where
S: DialogueState,
impl<S> From<S> for DialogueResult<S>where
S: DialogueState,
Auto Trait Implementations§
impl<S> Freeze for DialogueResult<S>where
S: Freeze,
impl<S> RefUnwindSafe for DialogueResult<S>where
S: RefUnwindSafe,
impl<S> Send for DialogueResult<S>where
S: Send,
impl<S> Sync for DialogueResult<S>where
S: Sync,
impl<S> Unpin for DialogueResult<S>where
S: Unpin,
impl<S> UnwindSafe for DialogueResult<S>where
S: UnwindSafe,
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