pub trait HasConst<T> {
    fn constant(&self) -> Option<T>;
}

Required methods

For gates that include constant data (AddConst, MulConst, etc) provides a method to access the constant. Returns None for all other types of gates.

Implementors