pub enum PluginPayloadKind {
WordSet,
CanonicalMap,
MultiwordMap,
RankedWords,
ProtectedSpellings,
}Expand description
Payload kinds supported by the plugin format.
Variants§
WordSet
Case-insensitive word membership.
CanonicalMap
Canonical spellings keyed by lowercase lookup keys.
MultiwordMap
Canonical spellings keyed by normalized multiword phrases.
RankedWords
Ranked or commonness-ordered words.
ProtectedSpellings
Protected spellings keyed by lowercase lookup keys.
Trait Implementations§
Source§impl Clone for PluginPayloadKind
impl Clone for PluginPayloadKind
impl Copy for PluginPayloadKind
Source§impl Debug for PluginPayloadKind
impl Debug for PluginPayloadKind
Source§impl<'de> Deserialize<'de> for PluginPayloadKind
impl<'de> Deserialize<'de> for PluginPayloadKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PluginPayloadKind
Source§impl PartialEq for PluginPayloadKind
impl PartialEq for PluginPayloadKind
Source§impl Serialize for PluginPayloadKind
impl Serialize for PluginPayloadKind
impl StructuralPartialEq for PluginPayloadKind
Auto Trait Implementations§
impl Forget for PluginPayloadKind
impl Freeze for PluginPayloadKind
impl Move for PluginPayloadKind
impl RefUnwindSafe for PluginPayloadKind
impl Send for PluginPayloadKind
impl Sync for PluginPayloadKind
impl Unpin for PluginPayloadKind
impl UnsafeUnpin for PluginPayloadKind
impl UnwindSafe for PluginPayloadKind
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