pub enum DictionaryType {
Char,
Word,
}Expand description
Dictionary type: character-based or word-based.
Variants§
Char
Character-based dictionary (traditional encoding)
Word
Word-based dictionary (BIP-39, Diceware, etc.)
Trait Implementations§
Source§impl Clone for DictionaryType
impl Clone for DictionaryType
Source§fn clone(&self) -> DictionaryType
fn clone(&self) -> DictionaryType
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 DictionaryType
impl Debug for DictionaryType
Source§impl Default for DictionaryType
impl Default for DictionaryType
Source§fn default() -> DictionaryType
fn default() -> DictionaryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DictionaryType
impl<'de> Deserialize<'de> for DictionaryType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DictionaryType
impl PartialEq for DictionaryType
impl Eq for DictionaryType
impl StructuralPartialEq for DictionaryType
Auto Trait Implementations§
impl Freeze for DictionaryType
impl RefUnwindSafe for DictionaryType
impl Send for DictionaryType
impl Sync for DictionaryType
impl Unpin for DictionaryType
impl UnwindSafe for DictionaryType
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