Struct ParityForwardCurvePoint
pub struct ParityForwardCurvePoint { /* private fields */ }Implementations§
§impl ParityForwardCurvePoint
impl ParityForwardCurvePoint
pub fn from_parity_estimate(
time_to_expiry_years: f64,
estimate: ParityForwardEstimate,
) -> Result<Self, FerroRiskError>
pub fn from_parity_estimate( time_to_expiry_years: f64, estimate: ParityForwardEstimate, ) -> Result<Self, FerroRiskError>
pub const fn time_to_expiry_years(self) -> f64
pub const fn forward(self) -> f64
pub const fn weight(self) -> f64
Trait Implementations§
§impl Clone for ParityForwardCurvePoint
impl Clone for ParityForwardCurvePoint
§fn clone(&self) -> ParityForwardCurvePoint
fn clone(&self) -> ParityForwardCurvePoint
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl PartialEq for ParityForwardCurvePoint
impl PartialEq for ParityForwardCurvePoint
impl Copy for ParityForwardCurvePoint
impl StructuralPartialEq for ParityForwardCurvePoint
Auto Trait Implementations§
impl Freeze for ParityForwardCurvePoint
impl RefUnwindSafe for ParityForwardCurvePoint
impl Send for ParityForwardCurvePoint
impl Sync for ParityForwardCurvePoint
impl Unpin for ParityForwardCurvePoint
impl UnsafeUnpin for ParityForwardCurvePoint
impl UnwindSafe for ParityForwardCurvePoint
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)