Struct eetf::Float [] [src]

pub struct Float {
    pub value: f64,
}

Floating point number

Fields

value: f64

The value of the number

Trait Implementations

impl Clone for Float
[src]

fn clone(&self) -> Float

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 PartialEq for Float
[src]

fn eq(&self, __arg_0: &Float) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Float) -> bool

This method tests for !=.

impl Debug for Float
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Float
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<f64> for Float
[src]

fn from(value: f64) -> Self

Performs the conversion.