Struct nominals::EasternArabic
source · pub struct EasternArabic;
Expand description
Eastern Arabic numeric digits.
EasternArabic
# | EasternArabic |
---|---|
0 | ٠ |
1 | ١ |
2 | ٢ |
3 | ٣ |
4 | ٤ |
… | … |
9 | ٩ |
10 | ١٠ |
11 | ١١ |
12 | ١٢ |
… | … |
99 | ٩٩ |
100 | ١٠٠ |
101 | ١٠١ |
102 | ١٠٢ |
Trait Implementations§
source§impl Clone for EasternArabic
impl Clone for EasternArabic
source§fn clone(&self) -> EasternArabic
fn clone(&self) -> EasternArabic
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EasternArabic
impl Debug for EasternArabic
source§impl Default for EasternArabic
impl Default for EasternArabic
source§fn default() -> EasternArabic
fn default() -> EasternArabic
Returns the “default value” for a type. Read more
source§impl DigitCollection for EasternArabic
impl DigitCollection for EasternArabic
§type Fallback = NoFallback
type Fallback = NoFallback
The digit collection that should be used after this collection’s range
is exhausted.
source§fn has_zero_digit(&self) -> bool
fn has_zero_digit(&self) -> bool
Returns true if this collection has a symbol representing
0
at index
0.source§fn zero_based(&self) -> bool
fn zero_based(&self) -> bool
Returns true if this collection should start counting at 1 instead of 0.
This function is only called if
has_zero_digit()
returns false.source§impl Hash for EasternArabic
impl Hash for EasternArabic
source§impl PartialEq for EasternArabic
impl PartialEq for EasternArabic
source§fn eq(&self, other: &EasternArabic) -> bool
fn eq(&self, other: &EasternArabic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EasternArabic
impl Eq for EasternArabic
impl StructuralEq for EasternArabic
impl StructuralPartialEq for EasternArabic
Auto Trait Implementations§
impl RefUnwindSafe for EasternArabic
impl Send for EasternArabic
impl Sync for EasternArabic
impl Unpin for EasternArabic
impl UnwindSafe for EasternArabic
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
source§impl<T, D> NominalSystem<T> for D
impl<T, D> NominalSystem<T> for D
source§fn try_format_nominal(&self, nominal: T) -> Result<NominalString, Error<T>>
fn try_format_nominal(&self, nominal: T) -> Result<NominalString, Error<T>>
Tries to format
nominal
using this system. Read moresource§fn format_nominal(&self, nominal: T) -> NominalString
fn format_nominal(&self, nominal: T) -> NominalString
Formats
nominal
using this system.