pub enum UnicodeDataNumeric {
Integer(i64),
Rational(i64, i64),
}Expand description
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§
Source§impl Clone for UnicodeDataNumeric
impl Clone for UnicodeDataNumeric
Source§fn clone(&self) -> UnicodeDataNumeric
fn clone(&self) -> UnicodeDataNumeric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnicodeDataNumeric
Source§impl Debug for UnicodeDataNumeric
impl Debug for UnicodeDataNumeric
Source§impl Display for UnicodeDataNumeric
impl Display for UnicodeDataNumeric
impl Eq for UnicodeDataNumeric
Source§impl FromStr for UnicodeDataNumeric
impl FromStr for UnicodeDataNumeric
Source§impl PartialEq for UnicodeDataNumeric
impl PartialEq for UnicodeDataNumeric
Source§fn eq(&self, other: &UnicodeDataNumeric) -> bool
fn eq(&self, other: &UnicodeDataNumeric) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnicodeDataNumeric
Auto Trait Implementations§
impl Freeze for UnicodeDataNumeric
impl RefUnwindSafe for UnicodeDataNumeric
impl Send for UnicodeDataNumeric
impl Sync for UnicodeDataNumeric
impl Unpin for UnicodeDataNumeric
impl UnsafeUnpin for UnicodeDataNumeric
impl UnwindSafe for UnicodeDataNumeric
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more