#[repr(i32)]pub enum LoadMethod {
Lazy = 0,
PopulateOrLazy = 1,
PopulateOrRead = 2,
Read = 3,
ParallelRead = 4,
}Expand description
How KenLM should bring binary model data into memory.
Variants§
Trait Implementations§
Source§impl Clone for LoadMethod
impl Clone for LoadMethod
Source§fn clone(&self) -> LoadMethod
fn clone(&self) -> LoadMethod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoadMethod
impl Debug for LoadMethod
Source§impl PartialEq for LoadMethod
impl PartialEq for LoadMethod
impl Copy for LoadMethod
impl Eq for LoadMethod
impl StructuralPartialEq for LoadMethod
Auto Trait Implementations§
impl Freeze for LoadMethod
impl RefUnwindSafe for LoadMethod
impl Send for LoadMethod
impl Sync for LoadMethod
impl Unpin for LoadMethod
impl UnsafeUnpin for LoadMethod
impl UnwindSafe for LoadMethod
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