Type Alias U160

Source
pub type U160 = Uint<160, 3>;
Expand description

160-bit unsigned integer type, consisting of 3, 64-bit limbs.

Aliased Type§

struct U160 { /* private fields */ }

Trait Implementations§

Source§

impl From<Address> for U160

Source§

fn from(value: Address) -> Self

Converts to this type from the input type.
Source§

impl From<FixedBytes<20>> for U160

Source§

fn from(value: B160) -> Self

Converts a fixed byte array into a fixed-width unsigned integer by interpreting the bytes as big-endian.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 24 bytes