pub enum Step {
Const(i128, u32),
Op(Opcode, [usize; 2], u32),
}Expand description
One instruction of a rewrite.
Value zero is the dividend, and value i + 1 is what step i gives.
Variants§
Const(i128, u32)
A constant of that many bits.
Op(Opcode, [usize; 2], u32)
An operation over one value or two, giving that many bits. A conversion reads only the first.
Trait Implementations§
impl Copy for Step
impl Eq for Step
impl StructuralPartialEq for Step
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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