[][src]Trait ysbell::gadgets::Assignment

pub trait Assignment<T> {
    pub fn get(&self) -> Result<&T, SynthesisError>;
}

This basically is just an extension to Option which allows for a convenient mapping to an error on None.

Required methods

pub fn get(&self) -> Result<&T, SynthesisError>[src]

Loading content...

Implementations on Foreign Types

impl<T> Assignment<T> for Option<T>[src]

Loading content...

Implementors

Loading content...