Struct rgsl::types::result::Result [] [src]

pub struct Result {
    pub val: f64,
    pub err: f64,
}

The error handling form of the special functions always calculate an error estimate along with the value of the result. Therefore, structures are provided for amalgamating a value and error estimate.

Fields

val: f64

Contains the value.

err: f64

Contains an estimate of the absolute error in the value.

Methods

impl Result
[src]

fn new() -> Result

Trait Implementations

impl Copy for Result
[src]

impl Clone for Result
[src]

fn clone(&self) -> Result

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Default for Result
[src]

fn default() -> Result

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