pub enum LoadMode {
Mmap,
Owned,
}Expand description
Strategy for loading dictionary files.
Variants§
Mmap
Memory-map each WordNet file (fast, zero-copy).
Owned
Read each file into an owned buffer (portable fallback).
Trait Implementations§
impl Copy for LoadMode
impl Eq for LoadMode
impl StructuralPartialEq for LoadMode
Auto Trait Implementations§
impl Freeze for LoadMode
impl RefUnwindSafe for LoadMode
impl Send for LoadMode
impl Sync for LoadMode
impl Unpin for LoadMode
impl UnwindSafe for LoadMode
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