Crate cskk

Source

Modules§

cskkstate
dictionary
error
keyevent
skk_modes

Structs§

CskkContext
CSKK のメインの構造体。このcontextをに対しキー入力を行って変換された状態を得る。 元々C向けAPIを作ることを想定していた多くの関数が*_rsとして公開されている。

Functions§

get_available_rules
使えるruleのリストを返す。
skk_context_confirm_candidate_at_rs
Confirm candidate at the cursor position.
skk_context_get_composition_mode_rsDeprecated
元capiテスト用途だが、libで公開してしまったうえに代理メソッドがないので当面残す。 将来的にはcontextのmethodに置き換える。
skk_context_get_current_candidate_count_rs
元capiテスト用途だが、libで公開してしまったうえに代理メソッドがないので当面残す。 将来的にはcontextのmethodに置き換える。
skk_context_get_current_candidate_cursor_position_rs
Get candidate cursor position.
skk_context_get_current_candidates_rs
現在の候補リストを返す。
skk_context_get_current_to_composite_rsDeprecated
元capiテスト用途。ABI変更を明示しないバージョンアップデートにより公開を止めうる。 内部状態なので、Rust libが使用することを想定しない。
skk_context_get_input_mode_rsDeprecated
元capiテスト用途だが、libで公開してしまったうえに代理メソッドがないので当面残す。 将来的にはcontextのmethodに置き換える。
skk_context_get_preedit_rsDeprecated
テスト用途?。preedit文字列と同じ内容の文字列を取得する。 This interface might be deleted at any update. Use CskkContext.get_preedit() instead.
skk_context_poll_output_rsDeprecated
Testing purpose? Use CskkContext.poll_output() instead. this interface might be deleted at any update. 現在のoutputをpollingする。
skk_context_process_key_events_rsDeprecated
Test purpose only.
skk_context_reload_dictionaryDeprecated
reload current dictionaries For integration test purpose.ABI変更を明示しないバージョンアップデートにより公開を止めうる。 Rust libとしてはreload_dictionaryを代わりに用いる
skk_context_reset_rs
元capiテスト用途だが、libで公開してしまったうえに代理メソッドがないので当面残す。 将来的にはcontextのmethodに置き換える。
skk_context_save_dictionaries_rsDeprecated
元capiテスト用途。ABI変更を明示しないバージョンアップデートにより公開を止めうる。 Rust libとしてはsave_dictionaryを使用する。
skk_context_select_candidate_at_rs
Set candidate cursor position.
skk_context_set_auto_start_henkan_keywords_rs
skk_context_set_comma_style_rs
skk_context_set_composition_mode
テスト用途 他のステートとの整合性は無視される。
skk_context_set_dictionaries_rsDeprecated
元capiテスト用途。ABI変更を明示しないバージョンアップデートにより公開を止めうる。 Rust libとしてはset_dictionariesを使用する。
skk_context_set_input_mode_rs
他のステートとの整合性は無視される。
skk_context_set_period_style_rs