pub struct Fuel { /* private fields */ }Expand description
A step budget for evaluation.
Spend one unit at every reduction step so that diverging programs
surface as Error::FuelExhausted rather than stack overflow or
non-termination.
Implementations§
Trait Implementations§
impl Copy for Fuel
impl Eq for Fuel
impl StructuralPartialEq for Fuel
Auto Trait Implementations§
impl Freeze for Fuel
impl RefUnwindSafe for Fuel
impl Send for Fuel
impl Sync for Fuel
impl Unpin for Fuel
impl UnsafeUnpin for Fuel
impl UnwindSafe for Fuel
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