pub enum Alphabet {
All,
Low,
Mid,
Custom(Vec<u8>),
}Expand description
Alphabet to use when creating words for insertion into tries.
Variants§
All
All values are allowed in each bytes of the key.
Low
Only a 6 values (‘a’ - ‘f’) are chosen to compose the key.
Mid
Quite a few values (around 32) are chosen to compose the key.
Custom(Vec<u8>)
A set of bytes given is used to compose the key.
Auto Trait Implementations§
impl Freeze for Alphabet
impl RefUnwindSafe for Alphabet
impl Send for Alphabet
impl Sync for Alphabet
impl Unpin for Alphabet
impl UnwindSafe for Alphabet
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