Expand description
struct for minimum value, its index, maximum value, its index
Fields
min: T
minindex: usize
max: T
maxindex: usize
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for MinMax<T> where
T: RefUnwindSafe,
impl<T> Send for MinMax<T> where
T: Send,
impl<T> Sync for MinMax<T> where
T: Sync,
impl<T> Unpin for MinMax<T> where
T: Unpin,
impl<T> UnwindSafe for MinMax<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more