pub enum ReductionBound {
Unlimited,
Steps(usize),
Size(usize),
}Expand description
A bound on the number of reduction steps.
Variants§
Unlimited
No bound (reduce until fixpoint).
Steps(usize)
Reduce at most n steps.
Size(usize)
Reduce until the expression size reaches n nodes.
Implementations§
Trait Implementations§
Source§impl Clone for ReductionBound
impl Clone for ReductionBound
impl Copy for ReductionBound
Source§impl Debug for ReductionBound
impl Debug for ReductionBound
impl Eq for ReductionBound
Source§impl PartialEq for ReductionBound
impl PartialEq for ReductionBound
impl StructuralPartialEq for ReductionBound
Auto Trait Implementations§
impl Forget for ReductionBound
impl Freeze for ReductionBound
impl Move for ReductionBound
impl RefUnwindSafe for ReductionBound
impl Send for ReductionBound
impl Sync for ReductionBound
impl Unpin for ReductionBound
impl UnsafeUnpin for ReductionBound
impl UnwindSafe for ReductionBound
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