Enum SigmaShape
pub enum SigmaShape {
Flat,
Piecewise,
}Expand description
The shape a Hull-White volatility is calibrated in.
Variants§
Flat
One constant σ, fitted by least squares over the strip.
Piecewise
One piece per strip expiry, bootstrapped so every point reprices.
Implementations§
§impl SigmaShape
impl SigmaShape
Trait Implementations§
§impl Clone for SigmaShape
impl Clone for SigmaShape
§fn clone(&self) -> SigmaShape
fn clone(&self) -> SigmaShape
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 moreimpl Copy for SigmaShape
§impl Debug for SigmaShape
impl Debug for SigmaShape
impl Eq for SigmaShape
§impl FromStr for SigmaShape
impl FromStr for SigmaShape
§impl PartialEq for SigmaShape
impl PartialEq for SigmaShape
impl StructuralPartialEq for SigmaShape
Auto Trait Implementations§
impl Freeze for SigmaShape
impl RefUnwindSafe for SigmaShape
impl Send for SigmaShape
impl Sync for SigmaShape
impl Unpin for SigmaShape
impl UnsafeUnpin for SigmaShape
impl UnwindSafe for SigmaShape
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