pub enum IRExpr<'ir> {
Call(CallExpr<'ir>),
Literal(Literal<'ir>, Type<'ir>),
Ident(Ident<'ir>),
ArithOp(ArithOpExpr<'ir>),
StructInit(StructInitExpr<'ir>),
}Variants§
Call(CallExpr<'ir>)
Literal(Literal<'ir>, Type<'ir>)
Ident(Ident<'ir>)
ArithOp(ArithOpExpr<'ir>)
StructInit(StructInitExpr<'ir>)
Trait Implementations§
impl<'ir> StructuralPartialEq for IRExpr<'ir>
Auto Trait Implementations§
impl<'ir> Freeze for IRExpr<'ir>
impl<'ir> RefUnwindSafe for IRExpr<'ir>
impl<'ir> Send for IRExpr<'ir>
impl<'ir> Sync for IRExpr<'ir>
impl<'ir> Unpin for IRExpr<'ir>
impl<'ir> UnwindSafe for IRExpr<'ir>
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