cast::revm::interpreter::primitives

Type Alias U256

pub type U256 = Uint<256, 4>;
Expand description

256-bit unsigned integer type, consisting of 4, 64-bit limbs.

Aliased Type§

struct U256 { /* private fields */ }

Trait Implementations§

Source§

impl From<NumberWithBase> for U256

Source§

fn from(n: NumberWithBase) -> Self

Converts to this type from the input type.
Source§

impl ToBase for U256

Source§

type Err = Infallible

Source§

fn to_base(&self, base: Base, add_prefix: bool) -> Result<String, Self::Err>

Formats self into a base, specifying whether to add the base prefix or not. Read more

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: 32 bytes