pub struct RunPrompt<'r> { /* private fields */ }Expand description
The prompt one turn is assembled from: the run’s frozen prefix, and what the run has already recorded of it.
Implementations§
Source§impl<'r> RunPrompt<'r>
impl<'r> RunPrompt<'r>
pub fn new( prefix: &'r FrozenPrefix, recorded: &'r mut PromptRecord, ) -> RunPrompt<'r>
Trait Implementations§
Auto Trait Implementations§
impl<'r> !UnwindSafe for RunPrompt<'r>
impl<'r> Freeze for RunPrompt<'r>
impl<'r> RefUnwindSafe for RunPrompt<'r>
impl<'r> Send for RunPrompt<'r>
impl<'r> Sync for RunPrompt<'r>
impl<'r> Unpin for RunPrompt<'r>
impl<'r> UnsafeUnpin for RunPrompt<'r>
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