Trait bellpepper::gadgets::Assignment

source ·
pub trait Assignment<T> {
    // Required method
    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§

Implementations on Foreign Types§

source§

impl<T> Assignment<T> for Option<T>

Implementors§