Struct nominals::CjkDecimal
source · pub struct CjkDecimal;
Expand description
CJK Han decimal digits.
CjkDecimal
# | CjkDecimal |
---|---|
0 | 〇 |
1 | 一 |
2 | 二 |
3 | 三 |
4 | 四 |
… | … |
9 | 九 |
10 | 一〇 |
11 | 一一 |
12 | 一二 |
… | … |
99 | 九九 |
100 | 一〇〇 |
101 | 一〇一 |
102 | 一〇二 |
Trait Implementations§
source§impl Clone for CjkDecimal
impl Clone for CjkDecimal
source§fn clone(&self) -> CjkDecimal
fn clone(&self) -> CjkDecimal
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 CjkDecimal
impl Debug for CjkDecimal
source§impl Default for CjkDecimal
impl Default for CjkDecimal
source§fn default() -> CjkDecimal
fn default() -> CjkDecimal
Returns the “default value” for a type. Read more
source§impl DigitCollection for CjkDecimal
impl DigitCollection for CjkDecimal
§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 CjkDecimal
impl Hash for CjkDecimal
source§impl PartialEq for CjkDecimal
impl PartialEq for CjkDecimal
source§fn eq(&self, other: &CjkDecimal) -> bool
fn eq(&self, other: &CjkDecimal) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CjkDecimal
impl Eq for CjkDecimal
impl StructuralEq for CjkDecimal
impl StructuralPartialEq for CjkDecimal
Auto Trait Implementations§
impl RefUnwindSafe for CjkDecimal
impl Send for CjkDecimal
impl Sync for CjkDecimal
impl Unpin for CjkDecimal
impl UnwindSafe for CjkDecimal
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.