Skip to main content

numeric_term_from_operand

Function numeric_term_from_operand 

Source
fn numeric_term_from_operand<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    operand: &Operand<'tcx>,
) -> Option<NumericTerm>
Expand description

Convert a MIR operand into the planner’s small numeric term language.