Struct SpotLadderPolicy
pub struct SpotLadderPolicy { /* private fields */ }Implementations§
§impl SpotLadderPolicy
impl SpotLadderPolicy
pub fn new(relative_spot_shocks: Vec<f64>) -> Result<Self, FerroRiskError>
pub fn new(relative_spot_shocks: Vec<f64>) -> Result<Self, FerroRiskError>
pub fn relative_spot_shocks(&self) -> &[f64]
Trait Implementations§
§impl Clone for SpotLadderPolicy
impl Clone for SpotLadderPolicy
§fn clone(&self) -> SpotLadderPolicy
fn clone(&self) -> SpotLadderPolicy
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl Default for SpotLadderPolicy
impl Default for SpotLadderPolicy
§impl PartialEq for SpotLadderPolicy
impl PartialEq for SpotLadderPolicy
impl StructuralPartialEq for SpotLadderPolicy
Auto Trait Implementations§
impl Freeze for SpotLadderPolicy
impl RefUnwindSafe for SpotLadderPolicy
impl Send for SpotLadderPolicy
impl Sync for SpotLadderPolicy
impl Unpin for SpotLadderPolicy
impl UnsafeUnpin for SpotLadderPolicy
impl UnwindSafe for SpotLadderPolicy
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)