pub enum RealNumber {
FixedPointNumber(Box<FixedPointNumber>),
Floating(Box<RealNumberFloating>),
}
Variants§
FixedPointNumber(Box<FixedPointNumber>)
Floating(Box<RealNumberFloating>)
Trait Implementations§
source§impl Clone for RealNumber
impl Clone for RealNumber
source§fn clone(&self) -> RealNumber
fn clone(&self) -> RealNumber
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RealNumber
impl Debug for RealNumber
source§impl<'a> From<&'a RealNumber> for RefNode<'a>
impl<'a> From<&'a RealNumber> for RefNode<'a>
source§fn from(x: &'a RealNumber) -> Self
fn from(x: &'a RealNumber) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a RealNumber> for RefNodes<'a>
impl<'a> From<&'a RealNumber> for RefNodes<'a>
source§fn from(x: &'a RealNumber) -> Self
fn from(x: &'a RealNumber) -> Self
Converts to this type from the input type.
source§impl From<RealNumber> for AnyNode
impl From<RealNumber> for AnyNode
source§fn from(x: RealNumber) -> Self
fn from(x: RealNumber) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a RealNumber
impl<'a> IntoIterator for &'a RealNumber
source§impl PartialEq<RealNumber> for RealNumber
impl PartialEq<RealNumber> for RealNumber
source§fn eq(&self, other: &RealNumber) -> bool
fn eq(&self, other: &RealNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.