pub trait ArrayIterArgmin<T>: ArrayIter<T>{
// Provided methods
fn argmin(&self) -> Option<usize> { ... }
fn non_zero_argmin(&self) -> Option<usize> { ... }
}
Provided Methods§
Sourcefn non_zero_argmin(&self) -> Option<usize>
fn non_zero_argmin(&self) -> Option<usize>
Returns the index of the element with the smallest value that is not equal to the default value.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.