Enum debris_mir::mir_nodes::MirNode
source · pub enum MirNode {
Branch(Branch),
FunctionCall(FunctionCall),
Goto(Goto),
RuntimePromotion(RuntimePromotion),
RuntimeCopy(RuntimeCopy),
VerifyValueComptime(VerifyValueComptime),
VerifyTupleLength(VerifyTupleLength),
VerifyPropertyExists(VerifyPropertyExists),
PrimitiveDeclaration(PrimitiveDeclaration),
VariableUpdate(VariableUpdate),
PropertyUpdate(PropertyUpdate),
PropertyAccess(PropertyAccess),
}
Variants§
Branch(Branch)
FunctionCall(FunctionCall)
Goto(Goto)
RuntimePromotion(RuntimePromotion)
RuntimeCopy(RuntimeCopy)
VerifyValueComptime(VerifyValueComptime)
VerifyTupleLength(VerifyTupleLength)
VerifyPropertyExists(VerifyPropertyExists)
PrimitiveDeclaration(PrimitiveDeclaration)
VariableUpdate(VariableUpdate)
PropertyUpdate(PropertyUpdate)
PropertyAccess(PropertyAccess)
Trait Implementations§
source§impl From<FunctionCall> for MirNode
impl From<FunctionCall> for MirNode
source§fn from(value: FunctionCall) -> Self
fn from(value: FunctionCall) -> Self
Converts to this type from the input type.
source§impl From<PrimitiveDeclaration> for MirNode
impl From<PrimitiveDeclaration> for MirNode
source§fn from(value: PrimitiveDeclaration) -> Self
fn from(value: PrimitiveDeclaration) -> Self
Converts to this type from the input type.
source§impl From<PropertyAccess> for MirNode
impl From<PropertyAccess> for MirNode
source§fn from(value: PropertyAccess) -> Self
fn from(value: PropertyAccess) -> Self
Converts to this type from the input type.
source§impl From<PropertyUpdate> for MirNode
impl From<PropertyUpdate> for MirNode
source§fn from(value: PropertyUpdate) -> Self
fn from(value: PropertyUpdate) -> Self
Converts to this type from the input type.
source§impl From<RuntimeCopy> for MirNode
impl From<RuntimeCopy> for MirNode
source§fn from(value: RuntimeCopy) -> Self
fn from(value: RuntimeCopy) -> Self
Converts to this type from the input type.
source§impl From<RuntimePromotion> for MirNode
impl From<RuntimePromotion> for MirNode
source§fn from(value: RuntimePromotion) -> Self
fn from(value: RuntimePromotion) -> Self
Converts to this type from the input type.
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.
source§impl From<VerifyPropertyExists> for MirNode
impl From<VerifyPropertyExists> for MirNode
source§fn from(value: VerifyPropertyExists) -> Self
fn from(value: VerifyPropertyExists) -> Self
Converts to this type from the input type.
source§impl From<VerifyTupleLength> for MirNode
impl From<VerifyTupleLength> for MirNode
source§fn from(value: VerifyTupleLength) -> Self
fn from(value: VerifyTupleLength) -> Self
Converts to this type from the input type.
source§impl From<VerifyValueComptime> for MirNode
impl From<VerifyValueComptime> for MirNode
source§fn from(value: VerifyValueComptime) -> Self
fn from(value: VerifyValueComptime) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for MirNode
impl !Send for MirNode
impl !Sync for MirNode
impl Unpin for MirNode
impl UnwindSafe for MirNode
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