Struct cskk::cskkstate::PreCompositionData
source · pub struct PreCompositionData {
pub confirmed: String,
pub kana_to_composite: String,
pub okuri: Option<String>,
pub unconverted: Option<String>,
}
Fields§
§confirmed: String
pollされた時に返す確定済み文字列。
通常のIMEでは[CskkContext::poll_output]で都度取り出して確定文字列として渡すので空である。
kana_to_composite: String
漢字変換に用いようとしている部分
okuri: Option<String>
漢字変換時に送り仮名として用いようとしている部分
unconverted: Option<String>
かな変換が成されていない入力キーの文字列表現。
現在のCompositionModeがPreCompositionならば漢字変換に用いようとしている部分に付き、
PreCompositionOkuriganaならば送り仮名に用いようとしている部分に付く。
Trait Implementations§
source§impl Debug for PreCompositionData
impl Debug for PreCompositionData
source§impl PartialEq for PreCompositionData
impl PartialEq for PreCompositionData
source§fn eq(&self, other: &PreCompositionData) -> bool
fn eq(&self, other: &PreCompositionData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PreCompositionData
impl StructuralPartialEq for PreCompositionData
Auto Trait Implementations§
impl RefUnwindSafe for PreCompositionData
impl Send for PreCompositionData
impl Sync for PreCompositionData
impl Unpin for PreCompositionData
impl UnwindSafe for PreCompositionData
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
Mutably borrows from an owned value. Read more
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
Compare self to
key
and return true
if they are equal.