Enum ucd_parse::UnicodeDataNumeric
source · [−]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
sourceimpl Clone for UnicodeDataNumeric
impl Clone for UnicodeDataNumeric
sourcefn clone(&self) -> UnicodeDataNumeric
fn clone(&self) -> UnicodeDataNumeric
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnicodeDataNumeric
impl Debug for UnicodeDataNumeric
sourceimpl Display for UnicodeDataNumeric
impl Display for UnicodeDataNumeric
sourceimpl FromStr for UnicodeDataNumeric
impl FromStr for UnicodeDataNumeric
sourceimpl PartialEq<UnicodeDataNumeric> for UnicodeDataNumeric
impl PartialEq<UnicodeDataNumeric> for UnicodeDataNumeric
sourcefn eq(&self, other: &UnicodeDataNumeric) -> bool
fn eq(&self, other: &UnicodeDataNumeric) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UnicodeDataNumeric) -> bool
fn ne(&self, other: &UnicodeDataNumeric) -> bool
This method tests for !=
.
impl Copy for UnicodeDataNumeric
impl Eq for UnicodeDataNumeric
impl StructuralEq for UnicodeDataNumeric
impl StructuralPartialEq for UnicodeDataNumeric
Auto Trait Implementations
impl RefUnwindSafe for UnicodeDataNumeric
impl Send for UnicodeDataNumeric
impl Sync for UnicodeDataNumeric
impl Unpin for UnicodeDataNumeric
impl UnwindSafe for UnicodeDataNumeric
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more