pub struct SyllableHelpcode {
pub syllable: usize,
pub first: u8,
pub second: u8,
}Expand description
一个音节上的辅助码约束(core/syllable_helpcode.h 的 SyllableHelpcode)。
Fields§
§syllable: usize受约束的音节,按去掉辅助码段之后的双拼切分计,0 起。
first: u8第一码,小写字母;0 表示这一段还没敲码。
second: u8第二码,小写字母;0 表示没有第二码,只按第一码筛。
Trait Implementations§
Source§impl Clone for SyllableHelpcode
impl Clone for SyllableHelpcode
impl Copy for SyllableHelpcode
Source§impl Debug for SyllableHelpcode
impl Debug for SyllableHelpcode
Source§impl Default for SyllableHelpcode
impl Default for SyllableHelpcode
impl Eq for SyllableHelpcode
Source§impl PartialEq for SyllableHelpcode
impl PartialEq for SyllableHelpcode
impl StructuralPartialEq for SyllableHelpcode
Auto Trait Implementations§
impl Freeze for SyllableHelpcode
impl RefUnwindSafe for SyllableHelpcode
impl Send for SyllableHelpcode
impl Sync for SyllableHelpcode
impl Unpin for SyllableHelpcode
impl UnsafeUnpin for SyllableHelpcode
impl UnwindSafe for SyllableHelpcode
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<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.