Re-exports§

Modules§

Macros§

  • Converts a string of 2 characters into a u16 for a human-readable prefix in Bech32.
  • Converts a string of 4 characters into a u32 for a human-readable prefix in Bech32.
  • Takes as input a sequence of objects, and converts them to a series of little-endian bits. All traits that implement ToBits can be automatically converted to bits in this manner.

Structs§

Constants§

Traits§

  • Unary operator for retrieving the absolute value, enforcing an overflow never occurs.
  • Unary operator for retrieving the absolute value, bounding the difference to MAX if an overflow occurs.
  • Unary operator for retrieving the absolute value, wrapping the result if an overflow occurs.
  • Binary operator for adding two values, enforcing an overflow never occurs.
  • Binary operator for adding two values, bounding the sum to MAX if an overflow occurs.
  • Binary operator for adding two values, wrapping the sum if an overflow occurs.
  • Representation of an address.
  • Representation of a boolean.
  • A trait for a commitment scheme.
  • A trait for a commitment scheme.
  • Trait for comparator operations.
  • Binary operator for dividing two values, enforcing an overflow never occurs.
  • Binary operator for dividing two values, bounding the quotient to MAX or MIN if an overflow occurs.
  • Binary operator for dividing two values, without checking specific conditions.
  • Binary operator for dividing two values, wrapping the quotient if an overflow occurs.
  • Unary operator for retrieving the doubled value.
  • Trait for equality comparisons.
  • Representation of a base field element.
  • Unary operator for converting from a base field element.
  • Unary operator for converting from a list of base elements.
  • Representation of a group element.
  • A trait for a hash function.
  • A trait for a hash function that produces multiple outputs.
  • A trait for a hash function that projects the value to an affine group element.
  • A trait for a hash function that projects the value to a scalar.
  • A trait for a hash function of an uncompressed variant.
  • Properties common to all integer types.
  • Representation of an integer.
  • Trait bound for integer values. Common to both signed and unsigned integers.
  • Unary operator for retrieving the inverse value.
  • Trait for integers that can be used as an unsigned magnitude. Magnitudes are either used to represent an integer exponent or the right operand in integer shift operations.
  • Binary operator for modding two values.
  • Binary operator for multiplying two values, enforcing an overflow never occurs.
  • Binary operator for multiplying two values, bounding the product to MAX if an overflow occurs.
  • Binary operator for multiplying two values, wrapping the product if an overflow occurs.
  • Binary operator for performing NOT (a AND b).
  • Binary operator for performing (NOT a) AND (NOT b).
  • A trait to unwrap a Result or Halt.
  • A trait for a pseudorandom function.
  • Operations to parse a string literal into an object.
  • Binary operator for exponentiating two values, enforcing an overflow never occurs.
  • Binary operator for exponentiating two values, wrapping the result if an overflow occurs.
  • Binary operator for dividing two values and returning the remainder, enforcing an overflow never occurs.
  • Binary operator for dividing two values, bounding the remainder to MAX or MIN if an overflow occurs.
  • Binary operator for dividing two values, wrapping the remainder if an overflow occurs.
  • Representation of a scalar field element.
  • Binary operator for left shifting a value, checking that the rhs is less than the number of bits in self.
  • Binary operator for left shifting a value, safely continuing past the number of bits in self.
  • Binary operator for right shifting a value, checking that the rhs is less than the number of bits in self.
  • Binary operator for right shifting a value, safely continuing past the number of bits in self.
  • Unary operator for retrieving the squared value.
  • Unary operator for retrieving the square root of the value.
  • Representation of a string.
  • Binary operator for subtracting two values, enforcing an underflow never occurs.
  • Binary operator for subtracting two values, bounding the difference to MIN if an underflow occurs.
  • Binary operator for subtracting two values, wrapping the difference if an underflow occurs.
  • Trait for ternary operations.
  • Unary operator for converting to a base field.
  • Unary operator for converting to a list of base fields.

Functions§

  • Converts a ParserResult into a human-readable message.
  • Decode the value of a variable length integer. https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer
  • Returns the variable length integer of the given value. https://en.bitcoin.it/wiki/Protocol_documentation#Variable_length_integer

Type Aliases§