Enum RateSmileRef
pub enum RateSmileRef<'a> {
Grid(&'a RateVolSurface),
Sabr(&'a SabrVolSurface),
}Expand description
A rate smile as a registry holds it, borrowed.
Variants§
Trait Implementations§
§impl<'a> Clone for RateSmileRef<'a>
impl<'a> Clone for RateSmileRef<'a>
§fn clone(&self) -> RateSmileRef<'a>
fn clone(&self) -> RateSmileRef<'a>
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<'a> Copy for RateSmileRef<'a>
§impl<'a> Debug for RateSmileRef<'a>
impl<'a> Debug for RateSmileRef<'a>
§impl<'a> PartialEq for RateSmileRef<'a>
impl<'a> PartialEq for RateSmileRef<'a>
§fn eq(&self, other: &RateSmileRef<'a>) -> bool
fn eq(&self, other: &RateSmileRef<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for RateSmileRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for RateSmileRef<'a>
impl<'a> RefUnwindSafe for RateSmileRef<'a>
impl<'a> Send for RateSmileRef<'a>
impl<'a> Sync for RateSmileRef<'a>
impl<'a> Unpin for RateSmileRef<'a>
impl<'a> UnsafeUnpin for RateSmileRef<'a>
impl<'a> UnwindSafe for RateSmileRef<'a>
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