Struct index_many::generic::PresortedIndices [−][src]
pub struct PresortedIndices<const N: usize> { /* fields omitted */ }
Expand description
This type ensures statically that the indices are sorted and unique.
This ensures only a single comparison is needed to check if the indices are in bounds of a slice.
Example codegen
Implementations
Trait Implementations
Auto Trait Implementations
impl<const N: usize> RefUnwindSafe for PresortedIndices<N>
impl<const N: usize> Send for PresortedIndices<N>
impl<const N: usize> Sync for PresortedIndices<N>
impl<const N: usize> Unpin for PresortedIndices<N>
impl<const N: usize> UnwindSafe for PresortedIndices<N>
Blanket Implementations
Mutably borrows from an owned value. Read more