Trait bellperson::gadgets::Assignment [−][src]
pub trait Assignment<T> { fn get(&self) -> Result<&T, SynthesisError>; }
Expand description
This basically is just an extension to Option
which allows for a convenient mapping to an
error on None
.
Required methods
fn get(&self) -> Result<&T, SynthesisError>
[src]