pub struct Options {
pub use_obsolete_kana: bool,
pub pass_romaji: bool,
pub upcase_katakana: bool,
pub imemode: bool,
}
Expand description
Options to set.
Fields§
§use_obsolete_kana: bool
Set to true to use obsolete characters, such as ゐ and ゑ.
pass_romaji: bool
Set to true to pass romaji when using mixed syllabaries with to_katakana() or to_hiragana() toHiragana(‘only convert the katakana: ヒラガナ’, { passRomaji: true }) => “only convert the katakana: ひらがな”
upcase_katakana: bool
Set to true to convert katakana to uppercase using to_romaji() to_romaji(‘ひらがな カタカナ’, { upcaseKatakana: true })
imemode: bool
Set to true to handle conversion while it is being typed