Struct collected::Last [−][src]
pub struct Last<T> { /* fields omitted */ }
Expand description
A collection that takes the last item when collected or extended from an iterator.
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<T> RefUnwindSafe for Last<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Last<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more