pub struct LnReturns<'a, T: Float>(pub &'a [T]);
Expand description
Natural Logarithmic Returns newtype wrapping a borrowed slice of generic floats.
Tuple Fields§
§0: &'a [T]
Auto Trait Implementations§
impl<'a, T> Freeze for LnReturns<'a, T>
impl<'a, T> RefUnwindSafe for LnReturns<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for LnReturns<'a, T>where
T: Sync,
impl<'a, T> Sync for LnReturns<'a, T>where
T: Sync,
impl<'a, T> Unpin for LnReturns<'a, T>
impl<'a, T> UnwindSafe for LnReturns<'a, T>where
T: RefUnwindSafe,
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