pub enum Bech32mZip316 {}
Expand description
Trait Implementations§
Source§impl Checksum for Bech32mZip316
impl Checksum for Bech32mZip316
Source§const CODE_LENGTH: usize = 4_194_368usize
const CODE_LENGTH: usize = 4_194_368usize
The length of the code. Read more
Source§const CHECKSUM_LENGTH: usize = 6usize
const CHECKSUM_LENGTH: usize = 6usize
The number of characters in the checksum. Read more
Source§const GENERATOR_SH: [u32; 5] = Bech32m::GENERATOR_SH
const GENERATOR_SH: [u32; 5] = Bech32m::GENERATOR_SH
The coefficients of the generator polynomial, except the leading monic term,
in “big-endian” (highest-degree coefficients get leftmost bits) order, along
with the 4 shifts of the generator. Read more
Source§const TARGET_RESIDUE: u32 = 734_539_939u32
const TARGET_RESIDUE: u32 = 734_539_939u32
The residue, modulo the generator polynomial, that a valid codeword will have.
Source§type MidstateRepr = <Bech32m as Checksum>::MidstateRepr
type MidstateRepr = <Bech32m as Checksum>::MidstateRepr
An unsigned integer type capable of holding a packed version of the generator
polynomial (without its leading 1) and target residue (which will have the
same width). Read more
§fn sanity_check()
fn sanity_check()
Sanity checks that the various constants of the trait are set in a way that they
are consistent with each other. Read more
Source§impl Clone for Bech32mZip316
impl Clone for Bech32mZip316
Source§fn clone(&self) -> Bech32mZip316
fn clone(&self) -> Bech32mZip316
Returns a copy 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 Hash for Bech32mZip316
impl Hash for Bech32mZip316
Source§impl Ord for Bech32mZip316
impl Ord for Bech32mZip316
Source§fn cmp(&self, other: &Bech32mZip316) -> Ordering
fn cmp(&self, other: &Bech32mZip316) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Bech32mZip316
impl PartialEq for Bech32mZip316
Source§impl PartialOrd for Bech32mZip316
impl PartialOrd for Bech32mZip316
impl Copy for Bech32mZip316
impl Eq for Bech32mZip316
impl StructuralPartialEq for Bech32mZip316
Auto Trait Implementations§
impl Freeze for Bech32mZip316
impl RefUnwindSafe for Bech32mZip316
impl Send for Bech32mZip316
impl Sync for Bech32mZip316
impl Unpin for Bech32mZip316
impl UnwindSafe for Bech32mZip316
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more