pub struct Dictionaries<'a> {
pub en: Option<&'a Vocabulary>,
pub ru: Option<&'a Vocabulary>,
pub learned: &'a [Arc<Vocabulary>],
}Expand description
Ready protection sources. None means missing; an explicitly empty vocabulary is ready.
Every source is consulted for every word, whatever its language: the English source can protect a Russian word. The split names the two Vim files whose readiness gates correction.
Fields§
§en: Option<&'a Vocabulary>English Vim vocabulary source.
ru: Option<&'a Vocabulary>Russian Vim vocabulary source.
learned: &'a [Arc<Vocabulary>]Words learned through the OS spell checker. They protect and forbid like the personal sources, but readiness never waits for them.
Trait Implementations§
Source§impl<'a> Clone for Dictionaries<'a>
impl<'a> Clone for Dictionaries<'a>
Source§fn clone(&self) -> Dictionaries<'a>
fn clone(&self) -> Dictionaries<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for Dictionaries<'a>
Source§impl<'a> Default for Dictionaries<'a>
impl<'a> Default for Dictionaries<'a>
Source§fn default() -> Dictionaries<'a>
fn default() -> Dictionaries<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for Dictionaries<'a>
impl<'a> RefUnwindSafe for Dictionaries<'a>
impl<'a> Send for Dictionaries<'a>
impl<'a> Sync for Dictionaries<'a>
impl<'a> Unpin for Dictionaries<'a>
impl<'a> UnsafeUnpin for Dictionaries<'a>
impl<'a> UnwindSafe for Dictionaries<'a>
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