Struct index_many::generic::UnsortedSpecializedIndices [−][src]
Expand description
This type allows any order for the indices, as long as they are unique.
This requires O(N^2)
comparisons to check if the indices are unique and
in bounds of a slice.
This variant includes manual optimizations for N <= 3, though they don’t seem to improve the codegen.
Example codegen
Tuple Fields
0: [usize; N]
Trait Implementations
Auto Trait Implementations
impl<const N: usize> RefUnwindSafe for UnsortedSpecializedIndices<N>
impl<const N: usize> Send for UnsortedSpecializedIndices<N>
impl<const N: usize> Sync for UnsortedSpecializedIndices<N>
impl<const N: usize> Unpin for UnsortedSpecializedIndices<N>
impl<const N: usize> UnwindSafe for UnsortedSpecializedIndices<N>
Blanket Implementations
Mutably borrows from an owned value. Read more