Struct ress::Number [−][src]
pub struct Number(_);
Methods
impl Number
[src]
impl Number
pub fn kind(&self) -> Kind
[src]
pub fn kind(&self) -> Kind
pub fn is_hex(&self) -> bool
[src]
pub fn is_hex(&self) -> bool
pub fn is_bin(&self) -> bool
[src]
pub fn is_bin(&self) -> bool
pub fn is_oct(&self) -> bool
[src]
pub fn is_oct(&self) -> bool
pub fn is_dec(&self) -> bool
[src]
pub fn is_dec(&self) -> bool
pub fn has_exponent(&self) -> bool
[src]
pub fn has_exponent(&self) -> bool
Trait Implementations
impl Debug for Number
[src]
impl Debug for Number
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 PartialEq for Number
[src]
impl PartialEq for Number
fn eq(&self, other: &Number) -> bool
[src]
fn eq(&self, other: &Number) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Number) -> bool
[src]
fn ne(&self, other: &Number) -> bool
This method tests for !=
.
impl Clone for Number
[src]
impl Clone for Number
fn clone(&self) -> Number
[src]
fn clone(&self) -> Number
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 From<String> for Number
[src]
impl From<String> for Number
impl<'a> From<&'a str> for Number
[src]
impl<'a> From<&'a str> for Number
impl ToString for Number
[src]
impl ToString for Number