pub struct AscendingKey<'a, K, V>(pub &'a [MapEntry<K, V>]);Expand description
The entries of a slice in ascending order of their keys (a stable sort, so equal keys keep
the order they were held in): MapEntryOrder::AscendingKey.
Tuple Fields§
§0: &'a [MapEntry<K, V>]Trait Implementations§
impl<'a, K: Copy, V: Copy> Copy for AscendingKey<'a, K, V>
Auto Trait Implementations§
impl<'a, K, V> Freeze for AscendingKey<'a, K, V>
impl<'a, K, V> RefUnwindSafe for AscendingKey<'a, K, V>where
&'a [MapEntry<K, V>]: RefUnwindSafe,
impl<'a, K, V> Send for AscendingKey<'a, K, V>
impl<'a, K, V> Sync for AscendingKey<'a, K, V>
impl<'a, K, V> Unpin for AscendingKey<'a, K, V>
impl<'a, K, V> UnsafeUnpin for AscendingKey<'a, K, V>where
&'a [MapEntry<K, V>]: UnsafeUnpin,
impl<'a, K, V> UnwindSafe for AscendingKey<'a, K, V>where
&'a [MapEntry<K, V>]: UnwindSafe,
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