pub struct ShortScaleInt { /* private fields */ }Expand description
Short scale integers (下数).
「下数者,十十变之。若言十万曰亿,十亿曰兆,十兆曰京也。」
Implementations§
Trait Implementations§
Source§impl Clone for ShortScaleInt
impl Clone for ShortScaleInt
Source§fn clone(&self) -> ShortScaleInt
fn clone(&self) -> ShortScaleInt
Returns a duplicate 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 ShortScaleInt
impl Debug for ShortScaleInt
Source§impl Default for ShortScaleInt
impl Default for ShortScaleInt
Source§fn default() -> ShortScaleInt
fn default() -> ShortScaleInt
Returns the “default value” for a type. Read more
Source§impl Display for ShortScaleInt
impl Display for ShortScaleInt
Source§impl From<i16> for ShortScaleInt
impl From<i16> for ShortScaleInt
Source§impl From<i32> for ShortScaleInt
impl From<i32> for ShortScaleInt
Source§impl From<i8> for ShortScaleInt
impl From<i8> for ShortScaleInt
Source§impl From<u16> for ShortScaleInt
impl From<u16> for ShortScaleInt
Source§impl From<u32> for ShortScaleInt
impl From<u32> for ShortScaleInt
Source§impl From<u8> for ShortScaleInt
impl From<u8> for ShortScaleInt
Source§impl Ord for ShortScaleInt
impl Ord for ShortScaleInt
Source§fn cmp(&self, other: &ShortScaleInt) -> Ordering
fn cmp(&self, other: &ShortScaleInt) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ShortScaleInt
impl PartialEq for ShortScaleInt
Source§impl PartialOrd for ShortScaleInt
impl PartialOrd for ShortScaleInt
Source§impl TryFrom<i128> for ShortScaleInt
impl TryFrom<i128> for ShortScaleInt
Source§impl TryFrom<i64> for ShortScaleInt
impl TryFrom<i64> for ShortScaleInt
Source§impl TryFrom<isize> for ShortScaleInt
impl TryFrom<isize> for ShortScaleInt
Source§impl TryFrom<u128> for ShortScaleInt
impl TryFrom<u128> for ShortScaleInt
Source§impl TryFrom<u64> for ShortScaleInt
impl TryFrom<u64> for ShortScaleInt
Source§impl TryFrom<usize> for ShortScaleInt
impl TryFrom<usize> for ShortScaleInt
impl Copy for ShortScaleInt
impl Eq for ShortScaleInt
impl StructuralPartialEq for ShortScaleInt
Auto Trait Implementations§
impl Freeze for ShortScaleInt
impl RefUnwindSafe for ShortScaleInt
impl Send for ShortScaleInt
impl Sync for ShortScaleInt
impl Unpin for ShortScaleInt
impl UnwindSafe for ShortScaleInt
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> ChineseNumeral for Twhere
T: ChineseNumeralBase,
impl<T> ChineseNumeral for Twhere
T: ChineseNumeralBase,
Source§fn to_lowercase(&self, variant: Variant) -> String
fn to_lowercase(&self, variant: Variant) -> String
Converts the number to lowercase (小写数字, used for normal contexts).
Source§fn to_uppercase(&self, variant: Variant) -> String
fn to_uppercase(&self, variant: Variant) -> String
Converts the number to uppercase (大写数字, used for financial contexts).
Source§fn to_lowercase_simp(&self) -> String
fn to_lowercase_simp(&self) -> String
Converts the number to lowercase (小写数字, used for normal contexts) in simplified Chinese.
Source§fn to_lowercase_trad(&self) -> String
fn to_lowercase_trad(&self) -> String
Converts the number to lowercase (小写数字, used for normal contexts) in traditional Chinese.
Source§fn to_uppercase_simp(&self) -> String
fn to_uppercase_simp(&self) -> String
Converts the number to uppercase (大写数字, used for financial contexts) in simplified Chinese.
Source§fn to_uppercase_trad(&self) -> String
fn to_uppercase_trad(&self) -> String
Converts the number to uppercase (大写数字, used for financial contexts) in traditional Chinese.