Enum bip39::Language[][src]

pub enum Language {

Language to be used for the mnemonic phrase.

The English language is always available, other languages are enabled using the compilation features.



The English language.


impl Language[src]

pub fn all() -> &'static [Language][src]

The list of supported languages. Language support is managed by compile features.

pub fn words_by_prefix(self, prefix: &str) -> &[&'static str][src]

Get words from the word list that start with the given prefix.

Trait Implementations

impl Clone for Language[src]

impl Copy for Language[src]

impl Debug for Language[src]

impl Display for Language[src]

impl Eq for Language[src]

impl Hash for Language[src]

impl Ord for Language[src]

impl PartialEq<Language> for Language[src]

impl PartialOrd<Language> for Language[src]

impl StructuralEq for Language[src]

impl StructuralPartialEq for Language[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.