Enum SabrParameter
#[non_exhaustive]pub enum SabrParameter {
AtmVol,
Rho,
Nu,
}Expand description
Which of a node’s three parameters a risk row or a scenario names.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AtmVol
The at-the-money vol, in the formula’s convention.
Rho
The correlation of the forward and its vol.
Nu
The vol of vol.
Implementations§
§impl SabrParameter
impl SabrParameter
§impl SabrParameter
impl SabrParameter
pub const ALL: [SabrParameter; 3]
pub const ALL: [SabrParameter; 3]
The three, in parameter-block order.
Trait Implementations§
§impl Clone for SabrParameter
impl Clone for SabrParameter
§fn clone(&self) -> SabrParameter
fn clone(&self) -> SabrParameter
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 SabrParameter
§impl Debug for SabrParameter
impl Debug for SabrParameter
impl Eq for SabrParameter
§impl FromStr for SabrParameter
impl FromStr for SabrParameter
§impl Hash for SabrParameter
impl Hash for SabrParameter
§impl Ord for SabrParameter
impl Ord for SabrParameter
§fn cmp(&self, other: &SabrParameter) -> Ordering
fn cmp(&self, other: &SabrParameter) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for SabrParameter
impl PartialEq for SabrParameter
§impl PartialOrd for SabrParameter
impl PartialOrd for SabrParameter
impl StructuralPartialEq for SabrParameter
Auto Trait Implementations§
impl Freeze for SabrParameter
impl RefUnwindSafe for SabrParameter
impl Send for SabrParameter
impl Sync for SabrParameter
impl Unpin for SabrParameter
impl UnsafeUnpin for SabrParameter
impl UnwindSafe for SabrParameter
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