pub enum DefaultConfig {
Show 16 variants
HK2S,
HK2SP,
HK2T,
JP2T,
S2HK,
S2HKP,
S2T,
S2TW,
S2TWP,
T2HK,
T2JP,
T2S,
T2TW,
TW2S,
TW2SP,
TW2T,
}Expand description
Default configs.
Variants§
HK2S
Traditional Chinese (Hong Kong variant) to Simplified Chinese
HK2SP
Traditional Chinese (Hong Kong variant) to Simplified Chinese (with phrases)
HK2T
Traditional Chinese (Hong Kong variant) to Traditional Chinese (OpenCC Standard)
JP2T
New Japanese Kanji (Shinjitai) to Old Japanese Kanji (Kyūjitai)
S2HK
Simplified Chinese to Traditional Chinese (Hong Kong variant)
S2HKP
Simplified Chinese to Traditional Chinese (Hong Kong variant, with phrases)
S2T
Simplified Chinese to Traditional Chinese (OpenCC Standard)
S2TW
Simplified Chinese to Traditional Chinese (Taiwan Standard)
S2TWP
Simplified Chinese to Traditional Chinese (Taiwan Standard, with Taiwan Phrases)
T2HK
Traditional Chinese (OpenCC Standard) to Traditional Chinese (Hong Kong variant)
T2JP
Old Japanese Kanji (Kyūjitai) to New Japanese Kanji (Shinjitai)
T2S
Traditional Chinese (OpenCC Standard) to Simplified Chinese
T2TW
Traditional Chinese (OpenCC Standard) to Traditional Chinese (Taiwan Standard)
TW2S
Traditional Chinese (Taiwan Standard) to Simplified Chinese
TW2SP
Traditional Chinese (Taiwan Standard) to Simplified Chinese (Mainland China Phrases)
TW2T
Traditional Chinese (Taiwan Standard) to Traditional Chinese (OpenCC Standard)
Implementations§
Source§impl DefaultConfig
impl DefaultConfig
Sourcepub fn get_file_name(self) -> &'static str
pub fn get_file_name(self) -> &'static str
Get the file name for this default config.
Trait Implementations§
Source§impl AsRef<Path> for DefaultConfig
impl AsRef<Path> for DefaultConfig
Source§impl AsRef<str> for DefaultConfig
impl AsRef<str> for DefaultConfig
Source§impl Clone for DefaultConfig
impl Clone for DefaultConfig
Source§fn clone(&self) -> DefaultConfig
fn clone(&self) -> DefaultConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more