Expand description
Struct for parsing string expressions to floats.
HashMap of variables in current Calculator
Set variable for Calculator.
name
- Name of the variable
value
- Float value of the variable
Get variable for Calculator.
name
- Name of the variable
value
- Result
Parse a string expression.
expression
- Expression that is parsed
Parse a CalculatorFloat to float.
parse_variable
- Parsed string CalculatorFloat or returns float value
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Define the default value of Calculator.
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.