pub struct Settled<'a> {
pub session: &'a str,
pub turns: usize,
pub ending: Ending<'a>,
}Expand description
How a run ended, for hooks that audit or clean up.
Fields§
§session: &'a str§turns: usize§ending: Ending<'a>Auto Trait Implementations§
impl<'a> Forget for Settled<'a>
impl<'a> Freeze for Settled<'a>
impl<'a> Move for Settled<'a>
impl<'a> RefUnwindSafe for Settled<'a>
impl<'a> Send for Settled<'a>
impl<'a> Sync for Settled<'a>
impl<'a> Unpin for Settled<'a>
impl<'a> UnsafeUnpin for Settled<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for Settled<'a>where
&'a str: 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