[][src]Struct bs58::alphabet::Alphabet

pub struct Alphabet { /* fields omitted */ }

Prepared Alpabet for EncodeBuilder and DecodeBuilder.

Methods

impl Alphabet[src]

pub const BITCOIN: &'static Self[src]

Bitcoin's prepared alphabet.

pub const MONERO: &'static Self[src]

Monero's prepared alphabet.

pub const RIPPLE: &'static Self[src]

Ripple's prepared alphabet.

pub const FLICKR: &'static Self[src]

Flickr's prepared alphabet.

pub const DEFAULT: &'static Self[src]

The default prepared alphabet used if none is given. Currently is the Alphabet::Bitcoin alphabet.

pub const fn new(base: &[u8; 58]) -> Alphabet[src]

Create prepared alphabet.

Trait Implementations

impl Clone for Alphabet[src]

impl Copy for Alphabet[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.