Enum ucd_parse::UnicodeDataNumeric
[−]
[src]
pub enum UnicodeDataNumeric {
Integer(i64),
Rational(i64, i64),
}A numeric value corresponding to characters with Numeric_Type=Numeric.
A numeric value can either be a signed integer or a rational number.
Variants
Integer(i64)An integer.
Rational(i64, i64)A rational number. The first is the numerator and the latter is the denominator.
Trait Implementations
impl Clone for UnicodeDataNumeric[src]
fn clone(&self) -> UnicodeDataNumeric[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for UnicodeDataNumeric[src]
impl Debug for UnicodeDataNumeric[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Eq for UnicodeDataNumeric[src]
impl PartialEq for UnicodeDataNumeric[src]
fn eq(&self, __arg_0: &UnicodeDataNumeric) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &UnicodeDataNumeric) -> bool[src]
This method tests for !=.
impl FromStr for UnicodeDataNumeric[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<UnicodeDataNumeric, Error>[src]
Parses a string s to return a value of this type. Read more