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

Whether or not to automatically insert multiplication signs between two operands (default = true)

The precision to be used for arbitrary precision floating point numbers (default = 53)

Whether or not sqrt should return the positive and negative values

Methods

impl Config
[src]

[src]

Create a new config with the default values

Trait Implementations

impl Debug for Config
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Config
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Config
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Config

impl Sync for Config