pub enum SessionChange {
Started,
Ended,
Other(u32),
}Expand description
How a session changed.
Variants§
Started
A save or a new game is loaded and running.
Ended
The player left it (to the menu, or by loading another save).
Other(u32)
A value this crate does not know.
Trait Implementations§
Source§impl Clone for SessionChange
impl Clone for SessionChange
impl Copy for SessionChange
Source§impl Debug for SessionChange
impl Debug for SessionChange
impl Eq for SessionChange
Source§impl Hash for SessionChange
impl Hash for SessionChange
Source§impl PartialEq for SessionChange
impl PartialEq for SessionChange
impl StructuralPartialEq for SessionChange
Auto Trait Implementations§
impl Forget for SessionChange
impl Freeze for SessionChange
impl Move for SessionChange
impl RefUnwindSafe for SessionChange
impl Send for SessionChange
impl Sync for SessionChange
impl Unpin for SessionChange
impl UnsafeUnpin for SessionChange
impl UnwindSafe for SessionChange
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