Lines Matching defs:extend
168 /// vec.extend([1, 2, 3]);
1084 /// output.extend(data.iter().map(|&val| {
1127 /// output.extend(data.iter().map(|&val| {
1149 /// vec.extend([1, 2, 3]);
1176 /// vec.extend([1, 2, 3]);
1210 /// vec.extend([1, 2, 3]);
1406 /// [`truncate`], [`resize`], [`extend`], or [`clear`].
1410 /// [`extend`]: Extend::extend
2405 /// you can use [`push`], [`extend`], [`extend_from_slice`],
2410 /// [`extend`]: Vec::extend
2561 /// Note that this function is same as [`extend`] except that it is
2574 /// [`extend`]: Vec::extend
2586 /// Note that this function is same as [`extend`] except that it is
2599 /// [`extend`]: Vec::extend
2719 /// Try to extend the vector by `n` clones of value.
3014 fn extend<I: IntoIterator<Item = T>>(&mut self, iter: I) {
3085 // specific extend for `TrustedLen` iterators, called both by the specializations
3119 // specific extend for `TrustedLen` iterators, called both by the specializations
3267 fn extend<I: IntoIterator<Item = &'a T>>(&mut self, iter: I) {
3489 /// vec.extend([1, 2, 3]);