Struct JointCurve
pub struct JointCurve {
pub roles: Vec<CurveId>,
pub rungs: Vec<Rung>,
}Expand description
One curve of a joint solve: the roles it is pinned under — a discount key, a projection index, or both, as a self-discounting overnight curve is — and the rungs whose pillars are its nodes.
Fields§
§roles: Vec<CurveId>Where the curve is pinned: CurveId::Discount or CurveId::Projection
roles, the first naming the curve in the result.
rungs: Vec<Rung>Its rungs, pillars strictly increasing from the reference date.
Trait Implementations§
§impl Clone for JointCurve
impl Clone for JointCurve
§fn clone(&self) -> JointCurve
fn clone(&self) -> JointCurve
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for JointCurve
impl !UnwindSafe for JointCurve
impl Freeze for JointCurve
impl Send for JointCurve
impl Sync for JointCurve
impl Unpin for JointCurve
impl UnsafeUnpin for JointCurve
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more