pub struct SimplResult {
pub expr: AlgExpr,
pub steps: Vec<String>,
pub reduced: bool,
}Expand description
The result of simplifying an expression.
Fields§
§expr: AlgExprThe simplified expression.
steps: Vec<String>Human-readable description of each simplification step applied.
reduced: booltrue if at least one simplification was applied.
Trait Implementations§
Source§impl Clone for SimplResult
impl Clone for SimplResult
Source§fn clone(&self) -> SimplResult
fn clone(&self) -> SimplResult
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 moreAuto Trait Implementations§
impl Freeze for SimplResult
impl RefUnwindSafe for SimplResult
impl Send for SimplResult
impl Sync for SimplResult
impl Unpin for SimplResult
impl UnsafeUnpin for SimplResult
impl UnwindSafe for SimplResult
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