pub fn build<F>(builder: F) -> Self
    where
        F: FnOnce(&mut Self) -> &mut Self,
    {
        let mut program = Self::new();
        builder(&mut program);
        program
    }
/// Creates an empty `Program` and passes its &mut to the closure to let it add the instructions.
/// Returns the resulting program.
Creates an empty `Program` and passes its &mut to the closure to let it add the instructions.
Returns the resulting program.
Creates an empty ` Program ` and passes its &mut to the closure to let it add the instructions . Returns the resulting program .
pub fn build<F>(builder: F) -> Self
    where
        F: FnOnce(&mut Self) -> &mut Self,
    {
        let mut program = Self::new();
        builder(&mut program);
        program
    }
pub fn build < F > ( builder : F ) -> Self where F : FnOnce ( & mut Self ) -> & mut Self , { let mut program = Self :: new ( ) ; builder ( & mut program ) ; program }
Creates an empty `Program` and passes its &mut to the closure to let it add the instructions.
Creates an empty ` Program ` and passes its &mut to the closure to let it add the instructions .
builder
F
builder
F