Enum multibase::Base
[−]
[src]
pub enum Base { Base2, Base8, Base10, Base16, Base16Upper, Base32hex, Base32hexUpper, Base32, Base32Upper, Base32z, Base58flickr, Base58btc, Base64, Base64url, }
Variants
Base2
Base8
Base10
Base16
Base16Upper
Base32hex
Base32hexUpper
Base32
Base32Upper
Base32z
Base58flickr
Base58btc
Base64
Base64url
Methods
impl Base
[src]
fn code(&self) -> char
Get the base code.
fn alphabet(&self) -> &[u8]
Get the matching alphabet.
fn from_code(code: char) -> Result<Base>
Convert a code to a base.
Trait Implementations
impl PartialEq for Base
[src]
fn eq(&self, __arg_0: &Base) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for Base
[src]
impl Clone for Base
[src]
fn clone(&self) -> Base
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more