Struct RateSmileArg
pub(crate) struct RateSmileArg(pub(crate) RateSmile);Expand description
A rate smile as a binder takes it: a grid or a SABR surface.
Tuple Fields§
§0: RateSmileTrait Implementations§
§impl From<&PyRateVolSurface> for RateSmileArg
impl From<&PyRateVolSurface> for RateSmileArg
§fn from(grid: &PyRateVolSurface) -> Self
fn from(grid: &PyRateVolSurface) -> Self
Converts to this type from the input type.
§impl From<&PySabrVolSurface> for RateSmileArg
impl From<&PySabrVolSurface> for RateSmileArg
§fn from(surface: &PySabrVolSurface) -> Self
fn from(surface: &PySabrVolSurface) -> Self
Converts to this type from the input type.
§impl<'py> FromPyObject<'py> for RateSmileArg
impl<'py> FromPyObject<'py> for RateSmileArg
§fn extract_bound(ob: &Bound<'py, PyAny>) -> PyResult<Self>
fn extract_bound(ob: &Bound<'py, PyAny>) -> PyResult<Self>
Auto Trait Implementations§
impl Freeze for RateSmileArg
impl RefUnwindSafe for RateSmileArg
impl Send for RateSmileArg
impl Sync for RateSmileArg
impl Unpin for RateSmileArg
impl UnsafeUnpin for RateSmileArg
impl UnwindSafe for RateSmileArg
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