Enum radix::RadixNum [] [src]

pub enum RadixNum {
    // some variants omitted
}

A number in some radix.

Methods

impl RadixNum
[src]

Convert a number encoded in a certain radix to a RadixNum.

Change the radix that self is encoded with. This does not change the represented value, but it does change its representation.

Retrieve the radix that self is encoded with.

Trait Implementations

impl Clone for RadixNum
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RadixNum
[src]

Formats the value using the given formatter.

impl PartialEq for RadixNum
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for RadixNum
[src]

impl PartialOrd for RadixNum
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for RadixNum
[src]

This method returns an Ordering between self and other. Read more

impl From<usize> for RadixNum
[src]

Performs the conversion.

impl From<u8> for RadixNum
[src]

Performs the conversion.

impl From<u16> for RadixNum
[src]

Performs the conversion.

impl From<u32> for RadixNum
[src]

Performs the conversion.

impl From<u64> for RadixNum
[src]

Performs the conversion.

impl From<u128> for RadixNum
[src]

Performs the conversion.