Enum PyHullWhitePin
pub(crate) enum PyHullWhitePin {
Flat(f64),
Dated(Vec<(NaiveDate, f64)>),
}Expand description
A Hull–White volatility as with_hull_white takes it: a float, or
(date, σ) pieces.
Variants§
Trait Implementations§
§impl<'py> FromPyObject<'py> for PyHullWhitePin
impl<'py> FromPyObject<'py> for PyHullWhitePin
§fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
fn extract_bound(obj: &Bound<'py, PyAny>) -> PyResult<Self>
Auto Trait Implementations§
impl Freeze for PyHullWhitePin
impl RefUnwindSafe for PyHullWhitePin
impl Send for PyHullWhitePin
impl Sync for PyHullWhitePin
impl Unpin for PyHullWhitePin
impl UnsafeUnpin for PyHullWhitePin
impl UnwindSafe for PyHullWhitePin
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