pub struct CommandContext<'g, 'e> {
pub game: &'g mut Game,
pub event_distr_config: &'e mut DistrConfig,
}Fields§
§game: &'g mut Game§event_distr_config: &'e mut DistrConfigTrait Implementations§
Auto Trait Implementations§
impl<'g, 'e> Freeze for CommandContext<'g, 'e>
impl<'g, 'e> RefUnwindSafe for CommandContext<'g, 'e>
impl<'g, 'e> Send for CommandContext<'g, 'e>
impl<'g, 'e> Sync for CommandContext<'g, 'e>
impl<'g, 'e> Unpin for CommandContext<'g, 'e>
impl<'g, 'e> UnsafeUnpin for CommandContext<'g, 'e>
impl<'g, 'e> !UnwindSafe for CommandContext<'g, 'e>
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