Struct Lifted
struct Lifted<'a, F, V> {
storage: &'a F,
view: V,
}Expand description
A stored family lifted into mode R for one pricing call — the core the
three resolved types share.
Carries the storage alongside the lifted view, which is what makes
passive possible: projecting re-lifts the same borrowed
storage rather than going back to the market to resolve a key again, and
the passive lift borrows its parameters, so the projection allocates
nothing for them. Lifting, substituting and projecting are written here
once; what a family adds beyond its curve — a composed spread, a market
recovery — lives on the resolved type that adds it.
Generic over the view type rather than written as F::View<'a, R>: a
projection through an associated type is invariant in its lifetime, and
the risk passes rely on a resolved curve shrinking to the lifetime of a
closure-local parameter slice, which the concrete views allow.
Fields§
§storage: &'a F§view: V