Skip to main content

Config

Enum Config 

Source
pub enum Config {
Show 16 variants S2T, T2S, S2TW, TW2S, S2HK, HK2S, S2TWP, TW2SP, T2TW, TW2T, T2HK, HK2T, S2HKP, HK2SP, T2JP, JP2T,
}
Expand description

Configurations

Variants§

§

S2T

Simplified Chinese to Traditional Chinese (OpenCC Standard)

§

T2S

Traditional Chinese (OpenCC Standard) to Simplified Chinese

§

S2TW

Simplified Chinese to Traditional Chinese (Taiwan Standard)

§

TW2S

Traditional Chinese (Taiwan Standard) to Simplified Chinese

§

S2HK

Simplified Chinese to Traditional Chinese (Hong Kong variant)

§

HK2S

Traditional Chinese (Hong Kong variant) to Simplified Chinese

§

S2TWP

Simplified Chinese to Traditional Chinese (Taiwan Standard, with Taiwan Phrases)

§

TW2SP

Traditional Chinese (Taiwan Standard) to Simplified Chinese (Mainland China Phrases)

§

T2TW

Traditional Chinese (OpenCC Standard) to Traditional Chinese (Taiwan Standard)

§

TW2T

Traditional Chinese (Taiwan Standard) to Traditional Chinese (OpenCC Standard)

§

T2HK

Traditional Chinese (OpenCC Standard) to Traditional Chinese (Hong Kong variant)

§

HK2T

Traditional Chinese (Hong Kong variant) to Traditional Chinese (OpenCC Standard)

§

S2HKP

Simplified Chinese to Traditional Chinese (Hong Kong variant, with Hong Kong Phrases)

§

HK2SP

Traditional Chinese (Hong Kong variant) to Simplified Chinese (Mainland China Phrases)

§

T2JP

Old Japanese Kanji (Kyūjitai) to New Japanese Kanji (Shinjitai)

§

JP2T

New Japanese Kanji (Shinjitai) to Old Japanese Kanji (Kyūjitai)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.