pub struct StrokeCandidate {
pub text: String,
pub weight: i64,
pub key: String,
}Expand description
一个候选字和它在 msime-stroke.db 里的笔画码。
Fields§
§text: String§weight: i64§key: String该字完整的笔画码(entries.key)。
Trait Implementations§
Source§impl Clone for StrokeCandidate
impl Clone for StrokeCandidate
Source§impl Debug for StrokeCandidate
impl Debug for StrokeCandidate
impl Eq for StrokeCandidate
Source§impl PartialEq for StrokeCandidate
impl PartialEq for StrokeCandidate
impl StructuralPartialEq for StrokeCandidate
Auto Trait Implementations§
impl Freeze for StrokeCandidate
impl RefUnwindSafe for StrokeCandidate
impl Send for StrokeCandidate
impl Sync for StrokeCandidate
impl Unpin for StrokeCandidate
impl UnsafeUnpin for StrokeCandidate
impl UnwindSafe for StrokeCandidate
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.