Enum ucd_parse::UnicodeDataNumeric [] [src]

pub enum UnicodeDataNumeric {
    Integer(i64),
    Rational(i64i64),
}

A numeric value corresponding to characters with Numeric_Type=Numeric.

A numeric value can either be a signed integer or a rational number.

Variants

An integer.

A rational number. The first is the numerator and the latter is the denominator.

Trait Implementations

impl Clone for UnicodeDataNumeric
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for UnicodeDataNumeric
[src]

impl Debug for UnicodeDataNumeric
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for UnicodeDataNumeric
[src]

impl PartialEq for UnicodeDataNumeric
[src]

[src]

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

[src]

This method tests for !=.

impl FromStr for UnicodeDataNumeric
[src]

The associated error which can be returned from parsing.

[src]

Parses a string s to return a value of this type. Read more

impl Display for UnicodeDataNumeric
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations