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
Source§fn clone(&self) -> ReductionBound
fn clone(&self) -> ReductionBound
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReductionBound
impl Debug for ReductionBound
Source§impl PartialEq for ReductionBound
impl PartialEq for ReductionBound
impl Copy for ReductionBound
impl Eq for ReductionBound
impl StructuralPartialEq for ReductionBound
Auto Trait Implementations§
impl Freeze 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