Struct debris_mir::mir_nodes::VariableUpdate
source · pub struct VariableUpdate {
pub span: Span,
pub target: MirObjectId,
pub value: MirObjectId,
pub comptime_update_allowed: bool,
}
Expand description
Updates the variable at target
to value
Fields§
§span: Span
§target: MirObjectId
§value: MirObjectId
§comptime_update_allowed: bool
Whether the update may be performed at compile time
Trait Implementations§
source§impl Debug for VariableUpdate
impl Debug for VariableUpdate
source§impl From<VariableUpdate> for MirNode
impl From<VariableUpdate> for MirNode
source§fn from(value: VariableUpdate) -> Self
fn from(value: VariableUpdate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for VariableUpdate
impl Send for VariableUpdate
impl Sync for VariableUpdate
impl Unpin for VariableUpdate
impl UnwindSafe for VariableUpdate
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