Struct dec64::Dec64
[−]
[src]
pub struct Dec64 { /* fields omitted */ }
Methods
impl Dec64
[src]
impl Dec64
[src]
fn from_parts(coefficient: i64, exponent: i8) -> Self
fn coefficient(self) -> i64
fn exponent(self) -> i8
fn is_nan(self) -> bool
fn is_zero(self) -> bool
Trait Implementations
impl Clone for Dec64
[src]
fn clone(&self) -> Dec64
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 Copy for Dec64
[src]
impl Debug for Dec64
[src]
impl PartialEq<Dec64> for Dec64
[src]
fn eq(&self, other: &Dec64) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.