Lines Matching refs:I
12 pub(super) trait SpecExtend<T, I> {
13 fn spec_extend(&mut self, iter: I); in spec_extend() argument
17 pub(super) trait TrySpecExtend<T, I> {
18 fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError>; in try_spec_extend()
22 impl<T, I, A: Allocator> SpecExtend<T, I> for Vec<T, A>
24 I: Iterator<Item = T>,
26 default fn spec_extend(&mut self, iter: I) { in spec_extend() argument
31 impl<T, I, A: Allocator> TrySpecExtend<T, I> for Vec<T, A>
33 I: Iterator<Item = T>,
35 default fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError> { in try_spec_extend()
41 impl<T, I, A: Allocator> SpecExtend<T, I> for Vec<T, A>
43 I: TrustedLen<Item = T>,
45 default fn spec_extend(&mut self, iterator: I) { in spec_extend() argument
50 impl<T, I, A: Allocator> TrySpecExtend<T, I> for Vec<T, A>
52 I: TrustedLen<Item = T>,
54 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend()
80 impl<'a, T: 'a, I, A: Allocator + 'a> SpecExtend<&'a T, I> for Vec<T, A>
82 I: Iterator<Item = &'a T>,
85 default fn spec_extend(&mut self, iterator: I) { in spec_extend() argument
90 impl<'a, T: 'a, I, A: Allocator + 'a> TrySpecExtend<&'a T, I> for Vec<T, A>
92 I: Iterator<Item = &'a T>,
95 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend()