pub enum ChineseCountMethod {
Low,
TenThousand,
Middle,
High,
}
Expand description
根據 五經算術 將大的單位分為 上數 (High
)、中數 (Middle
)、下數 (Low
) 三種類型,再加上現代使用的 萬進 (TenThousand
)。
Variants§
Low
下數者,十十變之。若言十萬曰億,十億曰兆,十兆曰京也。
TenThousand
萬進者,一萬變之。若言萬萬曰億,萬億曰兆,萬兆曰京也。
Middle
中數者,萬萬變之。若言萬萬曰億,萬萬億曰兆,萬萬兆曰京也。
High
上數者,數窮則變。若言萬萬曰億,億億曰兆、兆兆曰京也。
Implementations§
Trait Implementations§
source§impl Clone for ChineseCountMethod
impl Clone for ChineseCountMethod
source§fn clone(&self) -> ChineseCountMethod
fn clone(&self) -> ChineseCountMethod
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 ChineseCountMethod
impl Debug for ChineseCountMethod
source§impl Hash for ChineseCountMethod
impl Hash for ChineseCountMethod
source§impl PartialEq for ChineseCountMethod
impl PartialEq for ChineseCountMethod
source§fn eq(&self, other: &ChineseCountMethod) -> bool
fn eq(&self, other: &ChineseCountMethod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChineseCountMethod
impl Eq for ChineseCountMethod
impl StructuralEq for ChineseCountMethod
impl StructuralPartialEq for ChineseCountMethod
Auto Trait Implementations§
impl RefUnwindSafe for ChineseCountMethod
impl Send for ChineseCountMethod
impl Sync for ChineseCountMethod
impl Unpin for ChineseCountMethod
impl UnwindSafe for ChineseCountMethod
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