alloy_primitives::aliases

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.