pub struct RunContext<'a> {
pub game_dir: &'a Path,
pub cache: &'a Cache,
pub ledger: &'a mut Ledger,
pub watcher: &'a mut dyn Watcher,
}Expand description
What every step of one run works on.
Fields§
§game_dir: &'a Path§cache: &'a Cache§ledger: &'a mut Ledger§watcher: &'a mut dyn WatcherAuto Trait Implementations§
impl<'a> !RefUnwindSafe for RunContext<'a>
impl<'a> !Send for RunContext<'a>
impl<'a> !Sync for RunContext<'a>
impl<'a> !UnwindSafe for RunContext<'a>
impl<'a> Freeze for RunContext<'a>
impl<'a> Unpin for RunContext<'a>
impl<'a> UnsafeUnpin for RunContext<'a>
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