Trait evmil::util::Concretizable

source ·
pub trait Concretizable {
    type Item;

    // Required methods
    fn is_constant(&self) -> bool;
    fn constant(&self) -> Self::Item;
}
Expand description

A trait which allows (when possible) an abstract value to be extracted into a concrete value. This makes sense only when that abstract value represents a single concrete value.

Required Associated Types§

Required Methods§

source

fn is_constant(&self) -> bool

Determine whether this abstract value is a constant or not.

source

fn constant(&self) -> Self::Item

Extract constant value.

Implementors§

source§

impl Concretizable for aw256

§

type Item = Uint<256, 4>

source§

impl Concretizable for cw256

§

type Item = Uint<256, 4>

source§

impl<T: Copy + Ord> Concretizable for Interval<T>

§

type Item = T