pub enum IntegralNumber {
DecimalNumber(Box<DecimalNumber>),
OctalNumber(Box<OctalNumber>),
BinaryNumber(Box<BinaryNumber>),
HexNumber(Box<HexNumber>),
}
Variants§
DecimalNumber(Box<DecimalNumber>)
OctalNumber(Box<OctalNumber>)
BinaryNumber(Box<BinaryNumber>)
HexNumber(Box<HexNumber>)
Trait Implementations§
source§impl Clone for IntegralNumber
impl Clone for IntegralNumber
source§fn clone(&self) -> IntegralNumber
fn clone(&self) -> IntegralNumber
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 IntegralNumber
impl Debug for IntegralNumber
source§impl<'a> From<&'a IntegralNumber> for RefNode<'a>
impl<'a> From<&'a IntegralNumber> for RefNode<'a>
source§fn from(x: &'a IntegralNumber) -> Self
fn from(x: &'a IntegralNumber) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a IntegralNumber> for RefNodes<'a>
impl<'a> From<&'a IntegralNumber> for RefNodes<'a>
source§fn from(x: &'a IntegralNumber) -> Self
fn from(x: &'a IntegralNumber) -> Self
Converts to this type from the input type.
source§impl From<IntegralNumber> for AnyNode
impl From<IntegralNumber> for AnyNode
source§fn from(x: IntegralNumber) -> Self
fn from(x: IntegralNumber) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a IntegralNumber
impl<'a> IntoIterator for &'a IntegralNumber
source§impl PartialEq<IntegralNumber> for IntegralNumber
impl PartialEq<IntegralNumber> for IntegralNumber
source§fn eq(&self, other: &IntegralNumber) -> bool
fn eq(&self, other: &IntegralNumber) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.