#[non_exhaustive]pub enum SpellChecker {
Auto,
Aspell,
Hunspell,
Ispell,
Other(String),
}Expand description
spellcheck.checker.
Docs: spellcheck.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
The first one found on PATH.
Aspell
aspell.
Hunspell
hunspell.
Ispell
ispell.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SpellChecker
impl AsRef<str> for SpellChecker
Source§impl Clone for SpellChecker
impl Clone for SpellChecker
Source§impl Debug for SpellChecker
impl Debug for SpellChecker
Source§impl<'de> Deserialize<'de> for SpellChecker
impl<'de> Deserialize<'de> for SpellChecker
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SpellChecker
impl Display for SpellChecker
impl Eq for SpellChecker
Source§impl From<&str> for SpellChecker
impl From<&str> for SpellChecker
Source§impl From<String> for SpellChecker
impl From<String> for SpellChecker
Source§impl Hash for SpellChecker
impl Hash for SpellChecker
Source§impl Ord for SpellChecker
impl Ord for SpellChecker
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SpellChecker
impl PartialEq for SpellChecker
Source§impl PartialOrd for SpellChecker
impl PartialOrd for SpellChecker
Source§impl Serialize for SpellChecker
impl Serialize for SpellChecker
impl StructuralPartialEq for SpellChecker
Auto Trait Implementations§
impl Forget for SpellChecker
impl Freeze for SpellChecker
impl Move for SpellChecker
impl RefUnwindSafe for SpellChecker
impl Send for SpellChecker
impl Sync for SpellChecker
impl Unpin for SpellChecker
impl UnsafeUnpin for SpellChecker
impl UnwindSafe for SpellChecker
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