pub enum VocabularyOrder {
Random,
InOrder,
Arbitrary(Box<dyn Fn(&Option<usize>, &[&VocabularyEntry]) -> usize>),
}
Expand description
An order specifier by which vocabularies are selected from vocabulary list.
Variants§
Random
Vocabularies are selected randomly from vocabulary list.
InOrder
Vocabularies are selected in-order from vocabulary list.
Arbitrary(Box<dyn Fn(&Option<usize>, &[&VocabularyEntry]) -> usize>)
Vocabularies are selected user-defined order from vocabulary list.
Auto Trait Implementations§
impl Freeze for VocabularyOrder
impl !RefUnwindSafe for VocabularyOrder
impl !Send for VocabularyOrder
impl !Sync for VocabularyOrder
impl Unpin for VocabularyOrder
impl !UnwindSafe for VocabularyOrder
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