pub fn build_with<Op: OperationExt + Copy>(
        &mut self,
        with: impl FnOnce(&mut Builder, &mut OperationState),
    ) -> Op {
        let mut state = OperationState::new(Op::operation_name(), self.loc.raw());
        with(self, &mut state);
        let op = state.build();
        self.insert(op);
        op
    }
/// Build an operation through a callback that populates an
/// `OperationState`.
Build an operation through a callback that populates an
`OperationState`.
Build an operation through a callback that populates an ` OperationState ` .
pub fn build_with<Op: OperationExt + Copy>(
        &mut self,
        with: impl FnOnce(&mut Builder, &mut OperationState),
    ) -> Op {
        let mut state = OperationState::new(Op::operation_name(), self.loc.raw());
        with(self, &mut state);
        let op = state.build();
        self.insert(op);
        op
    }
pub fn build_with < Op : OperationExt + Copy > ( & mut self , with : impl FnOnce ( & mut Builder , & mut OperationState ) , ) -> Op { let mut state = OperationState :: new ( Op :: operation_name ( ) , self . loc . raw ( ) ) ; with ( self , & mut state ) ; let op = state . build ( ) ; self . insert ( op ) ; op }
Build an operation through a callback that populates an
`OperationState`.
Build an operation through a callback that populates an ` OperationState ` .
&mut self
with
impl FnOnce(&mut Builder, &mut OperationState)
&mut self
with
impl FnOnce(&mut Builder, &mut OperationState)