pub struct Mutation<'tcx> {
pub mutated: Place<'tcx>,
pub inputs: Vec<Place<'tcx>>,
pub status: MutationStatus,
}
Expand description
Information about a particular mutation.
Fields§
§mutated: Place<'tcx>
The place that is being mutated.
inputs: Vec<Place<'tcx>>
The set of inputs to the mutating operation.
status: MutationStatus
The certainty of whether the mutation is happening.
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for Mutation<'tcx>
impl<'tcx> !Send for Mutation<'tcx>
impl<'tcx> !Sync for Mutation<'tcx>
impl<'tcx> Unpin for Mutation<'tcx>
impl<'tcx> !UnwindSafe for Mutation<'tcx>
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