pub struct Equation { /* private fields */ }
Trait Implementations§
Source§impl EquationMember for Equation
impl EquationMember for Equation
Source§fn equation_repr(&self) -> String
fn equation_repr(&self) -> String
Returns a string representation of the equation
Source§fn simplify(&self) -> Option<Operation>
fn simplify(&self) -> Option<Operation>
Returns a simplified version of the equation reducing the
number of operations involved
Source§fn as_operation(&self) -> Option<&Operation>
fn as_operation(&self) -> Option<&Operation>
Returns Some(Operation) if the equation is representable as an operation
Source§fn is_zero(&self) -> bool
fn is_zero(&self) -> bool
Returns true if the value of the equation is zero
This is important for the required array solver traits
Source§fn latex_string(&self) -> String
fn latex_string(&self) -> String
Returns a latex representation of the equation for the front end
Auto Trait Implementations§
impl Freeze for Equation
impl !RefUnwindSafe for Equation
impl !Send for Equation
impl !Sync for Equation
impl Unpin for Equation
impl !UnwindSafe for Equation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.