Struct nominals::CjkHeavenlyStem
source · pub struct CjkHeavenlyStem;
Expand description
CJK Heavenly Stems symbols.
This digit collection falls back to CjkDecimal
after the set is
enumerated.
CjkHeavenlyStem
# | CjkHeavenlyStem |
---|---|
1 | 甲 |
2 | 乙 |
3 | 丙 |
4 | 丁 |
5 | 戊 |
… | … |
10 | 癸 |
11 | 一一 |
12 | 一二 |
13 | 一三 |
… | … |
100 | 一〇〇 |
101 | 一〇一 |
102 | 一〇二 |
103 | 一〇三 |
Trait Implementations§
source§impl DigitCollection for CjkHeavenlyStem
impl DigitCollection for CjkHeavenlyStem
§type Fallback = CjkDecimal
type Fallback = CjkDecimal
The digit collection that should be used after this collection’s range
is exhausted.
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§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.Auto Trait Implementations§
impl RefUnwindSafe for CjkHeavenlyStem
impl Send for CjkHeavenlyStem
impl Sync for CjkHeavenlyStem
impl Unpin for CjkHeavenlyStem
impl UnwindSafe for CjkHeavenlyStem
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.