Function conversion_of
fn conversion_of<R: Scalar>(
leg: &Leg,
view: &PricingView<'_, R>,
) -> Result<Option<Conversion>, PricingError>Expand description
A non-deliverable leg’s conversion, read off the view exactly as the
valuation reads it; None for a deliverable leg.