pub struct Task<'a, T> {
pub vm: &'a mut Vm,
pub context: &'a Context,
pub unit: &'a CompilationUnit,
/* private fields */
}
Expand description
The task of a unit being run.
Fields§
§vm: &'a mut Vm
The virtual machine of the task.
context: &'a Context
Functions collection associated with the task.
unit: &'a CompilationUnit
The unit associated with the task.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Task<'a, T>
impl<'a, T> !RefUnwindSafe for Task<'a, T>
impl<'a, T> !Send for Task<'a, T>
impl<'a, T> !Sync for Task<'a, T>
impl<'a, T> Unpin for Task<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for Task<'a, T>
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