MCPcopy Create free account
hub / github.com/Lokathor/tinyvec / extend

Method extend

src/arrayvec.rs:1417–1421  ·  view source on GitHub ↗
(&mut self, iter: T)

Source from the content-addressed store, hash-verified

1415impl<A: Array> Extend<A::Item> for ArrayVec<A> {
1416 #[inline]
1417 fn extend<T: IntoIterator<Item = A::Item>>(&mut self, iter: T) {
1418 for t in iter {
1419 self.push(t)
1420 }
1421 }
1422}
1423
1424impl<A: Array> From<A> for ArrayVec<A> {

Callers 2

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected