pub enum BeamVal {
Reg(BeamReg),
Int(i64),
Float(f64),
Atom(String),
Nil,
Literal(u32),
}Expand description
A BEAM value operand (register or immediate).
Variants§
Reg(BeamReg)
A register
Int(i64)
Integer immediate
Float(f64)
Float immediate
Atom(String)
Atom immediate
Nil
Nil immediate
Literal(u32)
Literal term from literal pool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BeamVal
impl RefUnwindSafe for BeamVal
impl Send for BeamVal
impl Sync for BeamVal
impl Unpin for BeamVal
impl UnsafeUnpin for BeamVal
impl UnwindSafe for BeamVal
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