ssa_traits

Trait Builder

Source
pub trait Builder<F: Func> {
    type Result;

    // Required method
    fn build(self, f: &mut F, k: F::Block) -> Result<(Self::Result, F::Block)>;
}

Required Associated Types§

Required Methods§

Source

fn build(self, f: &mut F, k: F::Block) -> Result<(Self::Result, F::Block)>

Implementations on Foreign Types§

Source§

impl<F: Func, B: Builder<F>> Builder<F> for Result<B>

Source§

type Result = <B as Builder<F>>::Result

Source§

fn build( self, f: &mut F, k: <F as Func>::Block, ) -> Result<(Self::Result, <F as Func>::Block)>

Implementors§

Source§

impl<F: FnOnce(&mut G, G::Block) -> Result<(R, G::Block)>, G: Func, R> Builder<G> for F