Struct mexprp::Config
[−]
[src]
pub struct Config { pub implicit_multiplication: bool, pub precision: u32, pub sqrt_both: bool, }
Struct that holds configuration values used when evaluating expressions
Fields
implicit_multiplication: bool
Whether or not to automatically insert multiplication signs between two operands (default = true)
precision: u32
The precision to be used for arbitrary precision floating point numbers (default = 53)
sqrt_both: bool
Whether or not sqrt should return the positive and negative values
Methods
impl Config
[src]
Trait Implementations
impl Debug for Config
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Config
[src]
fn clone(&self) -> Config
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more