pub enum Instr<A, B> {
Show 13 variants
Decl(A, Ty<A>),
Init(A, Ty<A>, Exp<A>),
Jump(Exp<A>, usize, String),
Goto(usize),
Copy(Loc<A>, Exp<A>),
Monomorphize(A),
Call(Loc<A>, bool, A, Vec<Exp<A>>),
PrimopUnary(Loc<A>, Unary<B>, Exp<A>),
PrimopBinary(Loc<A>, Binary<B>, Exp<A>, Exp<A>),
PrimopVariadic(Loc<A>, Variadic<B>, Vec<Exp<A>>),
Failure,
Arbitrary,
End,
}
Variants§
Decl(A, Ty<A>)
Init(A, Ty<A>, Exp<A>)
Jump(Exp<A>, usize, String)
Goto(usize)
Copy(Loc<A>, Exp<A>)
Monomorphize(A)
Call(Loc<A>, bool, A, Vec<Exp<A>>)
PrimopUnary(Loc<A>, Unary<B>, Exp<A>)
PrimopBinary(Loc<A>, Binary<B>, Exp<A>, Exp<A>)
PrimopVariadic(Loc<A>, Variadic<B>, Vec<Exp<A>>)
Failure
Arbitrary
End
Trait Implementations§
Auto Trait Implementations§
impl<A, B> Freeze for Instr<A, B>where
A: Freeze,
impl<A, B> RefUnwindSafe for Instr<A, B>where
A: RefUnwindSafe,
impl<A, B> Send for Instr<A, B>where
A: Send,
impl<A, B> Sync for Instr<A, B>where
A: Sync,
impl<A, B> Unpin for Instr<A, B>where
A: Unpin,
impl<A, B> UnwindSafe for Instr<A, B>where
A: UnwindSafe,
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