pub enum KeyKind {
Original,
Normalized,
KanaReading,
RomajiReading,
PinyinFull,
PinyinJoined,
PinyinInitials,
KoreanRomanized,
KoreanInitials,
KoreanKeyboard,
LearnedAlias,
}Expand description
Kind of indexed key attached to a candidate.
Variants§
Original
Original display text.
Normalized
Normalized display text.
KanaReading
Japanese kana reading.
RomajiReading
Japanese romaji reading.
PinyinFull
Chinese pinyin syllables separated by spaces.
PinyinJoined
Chinese pinyin joined without separators.
PinyinInitials
Chinese pinyin initials.
KoreanRomanized
Korean romanized Hangul.
KoreanInitials
Korean Hangul initial consonants.
KoreanKeyboard
Korean keyboard-layout spelling.
LearnedAlias
User-learned alias key.
Trait Implementations§
impl Copy for KeyKind
impl Eq for KeyKind
impl StructuralPartialEq for KeyKind
Auto Trait Implementations§
impl Freeze for KeyKind
impl RefUnwindSafe for KeyKind
impl Send for KeyKind
impl Sync for KeyKind
impl Unpin for KeyKind
impl UnsafeUnpin for KeyKind
impl UnwindSafe for KeyKind
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more