Enum debris_llir::llir_nodes::VariableAccess
source · pub enum VariableAccess<'a> {
Read(&'a ScoreboardValue),
Write(&'a ItemId, Option<i32>),
ReadWrite(&'a ScoreboardValue),
}
Expand description
Denotes how a specific node accesses variables.
Variants§
Read(&'a ScoreboardValue)
Marks that a value is read by this node
Write(&'a ItemId, Option<i32>)
Marks that a value is written to by this node. The second argument is the constant value that is written, if applicable.
ReadWrite(&'a ScoreboardValue)
Marks that a value can be both read from and written to by this node.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for VariableAccess<'a>
impl<'a> Send for VariableAccess<'a>
impl<'a> Sync for VariableAccess<'a>
impl<'a> Unpin for VariableAccess<'a>
impl<'a> UnwindSafe for VariableAccess<'a>
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