pub struct LocalModeOptions {Show 16 fields
pub unicode: bool,
pub date_time: bool,
pub date_time_inline: bool,
pub date_time_menu: bool,
pub quick_phrase: bool,
pub emoji: bool,
pub kaomoji: bool,
pub super_jianpin: bool,
pub temporary_english: bool,
pub temporary_japanese: bool,
pub expression: bool,
pub command: bool,
pub mention: bool,
pub chaizi: bool,
pub symbol: bool,
pub shift_letter_entry: bool,
}Expand description
Which local modes may be entered. The Shift+letter modes of the reference are on by default, symbol mode (S) among them, as the reference’s factory configuration ships it on; expression (V) follows the reference’s v_mode factory and is on, command (/) and mention (@) are off, because entering them takes a key that used to reach the host as text. 拆字 (C) 在共享偏好层默认开(对齐参考的 radical_mode 出厂值),host-api 把未写偏好的文档读作开。
Fields§
§unicode: bool§date_time: boolShift+T 日期时间快捷输入模式(参考 utility.date_time_mode)。行内日期时间混入普通候选由 date_time_inline 单独开关(参考 utility.date_time_candidates,出厂关)。
date_time_inline: bool全拼输入 riqi/sj/xq/nongli 时把当前日期、时间、星期或农历接在对应的词后面(参考 utility.date_time_candidates)。与 T 模式独立:T 模式关着时行内混入仍可开。
「📅日期」入口:日期时间混进普通候选时,第三位放一个入口,选中后候选窗换成这一组的全部格式(参考 utility.date_time_menu,出厂开)。依附 date_time_inline。
quick_phrase: bool§emoji: bool§kaomoji: bool§super_jianpin: bool§temporary_english: bool§temporary_japanese: bool§expression: bool§command: bool§mention: bool§chaizi: boolC:拆字反查。
symbol: boolS:符号模式。
shift_letter_entry: bool总开关:没有组字时 Shift+字母(U/T/K/E/M/J/Y/R/V/C/S)能否进入对应的快捷模式。关掉后这些键照常打出大写字母,各模式自己的开关不变;/ 和 @ 不经过它。
Trait Implementations§
Source§impl Clone for LocalModeOptions
impl Clone for LocalModeOptions
impl Copy for LocalModeOptions
Source§impl Debug for LocalModeOptions
impl Debug for LocalModeOptions
Source§impl Default for LocalModeOptions
impl Default for LocalModeOptions
impl Eq for LocalModeOptions
Source§impl PartialEq for LocalModeOptions
impl PartialEq for LocalModeOptions
impl StructuralPartialEq for LocalModeOptions
Auto Trait Implementations§
impl Freeze for LocalModeOptions
impl RefUnwindSafe for LocalModeOptions
impl Send for LocalModeOptions
impl Sync for LocalModeOptions
impl Unpin for LocalModeOptions
impl UnsafeUnpin for LocalModeOptions
impl UnwindSafe for LocalModeOptions
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.