pub trait ChineseNumeral {
    fn to_lowercase(&self, variant: Variant) -> String;
fn to_uppercase(&self, variant: Variant) -> String; fn to_lowercase_simp(&self) -> String { ... }
fn to_lowercase_trad(&self) -> String { ... }
fn to_uppercase_simp(&self) -> String { ... }
fn to_uppercase_trad(&self) -> String { ... } }
Expand description

Provides methods to generate Chinease numeral expression for a number.

Required methods

Converts the number to lowercase (小写数字, used for normal contexts).

Converts the number to uppercase (大写数字, used for financial contexts).

Provided methods

Converts the number to lowercase (小写数字, used for normal contexts) in simplified Chinese.

Converts the number to lowercase (小写数字, used for normal contexts) in traditional Chinese.

Converts the number to uppercase (大写数字, used for financial contexts) in simplified Chinese.

Converts the number to uppercase (大写数字, used for financial contexts) in traditional Chinese.

Implementors