Struct collected::TopK [−][src]
Expand description
The collection that retains maximum K
values.
Implementations
Trait Implementations
Extends a collection with the contents of an iterator. Read more
🔬 This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
🔬 This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
Creates a value from an iterator. Read more
Auto Trait Implementations
impl<A, const K: usize> RefUnwindSafe for TopK<A, K> where
A: RefUnwindSafe,
impl<A, const K: usize> UnwindSafe for TopK<A, K> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more