pub struct Context<'gc> {
pub mutation: &'gc Mutation<'gc>,
pub state: &'gc State<'gc>,
}Fields§
§mutation: &'gc Mutation<'gc>§state: &'gc State<'gc>Trait Implementations§
impl<'gc> Copy for Context<'gc>
Auto Trait Implementations§
impl<'gc> Freeze for Context<'gc>
impl<'gc> !RefUnwindSafe for Context<'gc>
impl<'gc> !Send for Context<'gc>
impl<'gc> !Sync for Context<'gc>
impl<'gc> Unpin for Context<'gc>
impl<'gc> !UnwindSafe for Context<'gc>
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