pub struct SortZhOptions {
    pub variant: ChineseVariant,
    pub zh_number_option: ZhNumberOption,
}
Expand description

排序選項

Fields

variant: ChineseVariant

繁體中文/簡體中文(預設為繁體中文)

  • 繁體中文使用ICU提供的中文台灣(zh_TW)Collate

  • 簡體中文使用ICU提供的中文中國(zh_CN)Collate

zh_number_option: ZhNumberOption

中文數字選項(預設為透過筆畫排序)

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.