Enum rustc_apfloat::Round [−][src]
pub enum Round { NearestTiesToEven, TowardPositive, TowardNegative, TowardZero, NearestTiesToAway, }
IEEE-754R 4.3: Rounding-direction attributes.
Variants
NearestTiesToEven
TowardPositive
TowardNegative
TowardZero
NearestTiesToAway
Trait Implementations
impl Copy for Round
[src]
impl Copy for Round
impl Clone for Round
[src]
impl Clone for Round
fn clone(&self) -> Round
[src]
fn clone(&self) -> Round
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Round
[src]
impl PartialEq for Round
fn eq(&self, other: &Round) -> bool
[src]
fn eq(&self, other: &Round) -> 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[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Round
[src]
impl Eq for Round
impl Debug for Round
[src]
impl Debug for Round
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Neg for Round
[src]
impl Neg for Round