cast::revm::interpreter::primitives::alloy_primitives

Type Alias I256

pub type I256 = Signed<256, 4>;
Expand description

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

Aliased Type§

struct I256(/* private fields */);

Trait Implementations§

Source§

impl From<NumberWithBase> for I256

Source§

fn from(n: NumberWithBase) -> Self

Converts to this type from the input type.
Source§

impl ToBase for I256

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