Enum opencc_rust::DefaultConfig
source · pub enum DefaultConfig {
Show 14 variants
HK2S,
HK2T,
JP2T,
S2T,
S2TW,
S2TWP,
T2HK,
T2JP,
T2TW,
T2S,
S2HK,
TW2S,
TW2SP,
TW2T,
}
Expand description
Default configs.
Variants§
HK2S
Traditional Chinese (Hong Kong Standard) to Simplified Chinese
HK2T
Traditional Chinese (Hong Kong Standard) to Traditional Chinese
JP2T
New Japanese Kanji (Shinjitai) to Traditional Chinese Characters (Kyūjitai)
S2T
Simplified Chinese to Traditional Chinese
S2TW
Simplified Chinese to Traditional Chinese (Taiwan Standard)
S2TWP
Simplified Chinese to Traditional Chinese (Taiwan Standard) with Taiwanese idiom
T2HK
Traditional Chinese (OpenCC Standard) to Hong Kong Standard
T2JP
Traditional Chinese Characters (Kyūjitai) to New Japanese Kanji (Shinjitai)
T2TW
Traditional Chinese (OpenCC Standard) to Taiwan Standard
T2S
Traditional Chinese to Simplified Chinese
S2HK
Simplified Chinese to Traditional Chinese (Hong Kong Standard)
TW2S
Traditional Chinese (Taiwan Standard) to Simplified Chinese
TW2SP
Traditional Chinese (Taiwan Standard) to Simplified Chinese with Mainland Chinese idiom
TW2T
Traditional Chinese (Taiwan Standard) to Traditional Chinese
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 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DefaultConfig
impl Debug for DefaultConfig
impl Copy for DefaultConfig
Auto Trait Implementations§
impl Freeze for DefaultConfig
impl RefUnwindSafe for DefaultConfig
impl Send for DefaultConfig
impl Sync for DefaultConfig
impl Unpin for DefaultConfig
impl UnwindSafe for DefaultConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)