pub fn input(&self) -> Result<Var, Error> {
        let id = self.inner.global.var();
        let input = self.inner.inputs.get();
        self.inner.inputs.set(input + 1);
        self.assign_value(id, Value::Input(input))?;
        Ok(id)
    }
/// Define an input into the block.
Define an input into the block.
Define an input into the block .
pub fn input(&self) -> Result<Var, Error> {
        let id = self.inner.global.var();
        let input = self.inner.inputs.get();
        self.inner.inputs.set(input + 1);
        self.assign_value(id, Value::Input(input))?;
        Ok(id)
    }
pub fn input ( & self ) -> Result < Var , Error > { let id = self . inner . global . var ( ) ; let input = self . inner . inputs . get ( ) ; self . inner . inputs . set ( input + 1 ) ; self . assign_value ( id , Value :: Input ( input ) ) ? ; Ok ( id ) }
Define an input into the block.
Define an input into the block .
&self
&self