pub enum DictionaryStateRecord {
Entry {
kind: PersonalDictionaryKind,
key: String,
value: String,
weight: i64,
display: String,
deleted: bool,
user_inserted: bool,
},
Position {
context: String,
key: String,
value: String,
position: i64,
},
Selection {
context: String,
key: String,
value: String,
count: i64,
},
}Expand description
The host’s record shape (engine-bridge DictionaryStateRecord); positions and counts are range-checked on import.
Variants§
Trait Implementations§
Source§impl Clone for DictionaryStateRecord
impl Clone for DictionaryStateRecord
Source§impl Debug for DictionaryStateRecord
impl Debug for DictionaryStateRecord
impl Eq for DictionaryStateRecord
Source§impl PartialEq for DictionaryStateRecord
impl PartialEq for DictionaryStateRecord
impl StructuralPartialEq for DictionaryStateRecord
Auto Trait Implementations§
impl Freeze for DictionaryStateRecord
impl RefUnwindSafe for DictionaryStateRecord
impl Send for DictionaryStateRecord
impl Sync for DictionaryStateRecord
impl Unpin for DictionaryStateRecord
impl UnsafeUnpin for DictionaryStateRecord
impl UnwindSafe for DictionaryStateRecord
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.