pub struct ValueWithIndex<'a, N>where
N: Num,{
pub index: usize,
pub value: &'a N,
}Fields§
§index: usize§value: &'a NAuto Trait Implementations§
impl<'a, N> Freeze for ValueWithIndex<'a, N>
impl<'a, N> RefUnwindSafe for ValueWithIndex<'a, N>where
N: RefUnwindSafe,
impl<'a, N> Send for ValueWithIndex<'a, N>where
N: Sync,
impl<'a, N> Sync for ValueWithIndex<'a, N>where
N: Sync,
impl<'a, N> Unpin for ValueWithIndex<'a, N>
impl<'a, N> UnwindSafe for ValueWithIndex<'a, N>where
N: 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