Home
last modified time | relevance | path

Searched defs:IntoIter (Results 1 – 25 of 103) sorted by relevance

12345

/third_party/rust/rust/library/alloc/src/vec/
Dinto_iter.rs33 pub struct IntoIter< struct
50 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> { argument
56 impl<T, A: Allocator> IntoIter<T, A> { implementation
172 impl<T, A: Allocator> AsRef<[T]> for IntoIter<T, A> { implementation
179 unsafe impl<T: Send, A: Allocator + Send> Send for IntoIter<T, A> {} implementation
181 unsafe impl<T: Sync, A: Allocator + Sync> Sync for IntoIter<T, A> {} implementation
184 impl<T, A: Allocator> Iterator for IntoIter<T, A> { implementation
295 impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> { implementation
333 impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> { implementation
340 impl<T, A: Allocator> FusedIterator for IntoIter<T, A> {} implementation
[all …]
/third_party/rust/rust/tests/ui/associated-types/
Dissue-50301.rs7 type IntoIter; typedef
8 fn get(&self) -> Self::IntoIter; in get()
14 type IntoIter = ImplIntoIter; typedef
15 fn get(&self) -> Self::IntoIter { in get()
24 type IntoIter = std::iter::Cloned<std::slice::Iter<'a, u32>>; typedef
25 fn into_iter(self) -> Self::IntoIter { in into_iter()
Dassociated-types-issue-20220.rs9 type IntoIter: Iterator<Item=Self::Item>; typedef
11 fn into_iter_x(self) -> Self::IntoIter; in into_iter_x()
16 type IntoIter = vec::IntoIter<T>; typedef
/third_party/rust/rust/library/core/src/array/
Diter.rs16 pub struct IntoIter<T, const N: usize> { struct
46 type IntoIter = IntoIter<T, N>; argument
56 fn into_iter(self) -> Self::IntoIter { in into_iter()
75 impl<T, const N: usize> IntoIter<T, N> { implementation
236 impl<T, const N: usize> Iterator for IntoIter<T, N> { implementation
299 impl<T, const N: usize> DoubleEndedIterator for IntoIter<T, N> { implementation
348 impl<T, const N: usize> Drop for IntoIter<T, N> { implementation
358 impl<T, const N: usize> ExactSizeIterator for IntoIter<T, N> { implementation
368 impl<T, const N: usize> FusedIterator for IntoIter<T, N> {} implementation
375 unsafe impl<T, const N: usize> TrustedLen for IntoIter<T, N> {} implementation
[all …]
/third_party/rust/rust/src/tools/clippy/tests/ui/
Dexplicit_iter_loop.rs79 type IntoIter = core::slice::Iter<'static, ()>; in main() typedef
80 fn into_iter(self) -> Self::IntoIter { in main()
95 type IntoIter = core::slice::Iter<'static, ()>; in main() typedef
96 fn into_iter(self) -> Self::IntoIter { in main()
111 type IntoIter = core::slice::Iter<'a, ()>; in main() typedef
112 fn into_iter(self) -> Self::IntoIter { in main()
127 type IntoIter = core::slice::Iter<'a, u32>; in main() typedef
128 fn into_iter(self) -> Self::IntoIter { in main()
134 type IntoIter = core::slice::IterMut<'a, u32>; in main() typedef
135 fn into_iter(self) -> Self::IntoIter { in main()
[all …]
Dexplicit_into_iter_loop.rs16 type IntoIter = std::vec::IntoIter<Self::Item>; in main() typedef
17 fn into_iter(self) -> Self::IntoIter { in main()
39 type IntoIter = std::vec::IntoIter<Self::Item>; in main() typedef
40 fn into_iter(self) -> Self::IntoIter { in main()
/third_party/rust/rust/tests/ui/rfcs/rfc-2632-const-trait-impl/
Ddo-not-const-check.rs5 trait IntoIter { interface
12 fn chain<U>(self, other: U) where U: IntoIter, in chain()
/third_party/rust/rust/library/alloc/src/collections/vec_deque/
Dinto_iter.rs17 pub struct IntoIter< struct
24 impl<T, A: Allocator> IntoIter<T, A> { argument
35 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> { implementation
42 impl<T, A: Allocator> Iterator for IntoIter<T, A> { implementation
179 impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> { implementation
250 impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> { implementation
258 impl<T, A: Allocator> FusedIterator for IntoIter<T, A> {} implementation
261 unsafe impl<T, A: Allocator> TrustedLen for IntoIter<T, A> {} implementation
/third_party/rust/rust/tests/ui/issues/
Dissue-42467.rs5 struct IntoIter<T>(T); struct
7 impl<'a, T: 'a> Iterator for IntoIter<T> { implementation
17 type IntoIter = IntoIter<T>; typedef
Dissue-60218.rs12 for<'t> Map<<&'t I as IntoIterator>::IntoIter, F>: Iterator, in trigger_error()
13 for<'t> <Map<<&'t I as IntoIterator>::IntoIter, F> as Iterator>::Item: Foo, in trigger_error()
/third_party/rust/crates/cxx/gen/lib/src/
Derror.rs49 type IntoIter = IntoIter; typedef
51 fn into_iter(self) -> Self::IntoIter { in into_iter()
59 pub enum IntoIter { enum
64 impl Iterator for IntoIter { implementation
/third_party/rust/rust/tests/ui/wf/
Dhir-wf-check-erase-regions.rs7 … type IntoIter = std::iter::Flatten<std::slice::Iter<'a, T>>; //~ ERROR `&'a T` is not an iterator typedef
10 fn into_iter(self) -> Self::IntoIter { //~ ERROR `&'a T` is not an iterator in into_iter()
/third_party/rust/crates/rust-openssl/openssl/src/
Dstack.rs77 type IntoIter = IntoIter<T>; typedef
136 pub struct IntoIter<T: Stackable> { struct
141 impl<T: Stackable> Drop for IntoIter<T> { implementation
152 impl<T: Stackable> Iterator for IntoIter<T> { implementation
168 impl<T: Stackable> DoubleEndedIterator for IntoIter<T> { implementation
178 impl<T: Stackable> ExactSizeIterator for IntoIter<T> {} implementation
280 type IntoIter = Iter<'a, T>; typedef
289 type IntoIter = IterMut<'a, T>; typedef
298 type IntoIter = Iter<'a, T>; typedef
307 type IntoIter = IterMut<'a, T>; typedef
/third_party/rust/crates/syn/src/
Ddata.rs106 type IntoIter = punctuated::IntoIter<Field>; typedef
108 fn into_iter(self) -> Self::IntoIter { in into_iter()
119 type IntoIter = punctuated::Iter<'a, Field>; typedef
121 fn into_iter(self) -> Self::IntoIter { in into_iter()
128 type IntoIter = punctuated::IterMut<'a, Field>; typedef
130 fn into_iter(self) -> Self::IntoIter { in into_iter()
Derror.rs413 type IntoIter = IntoIter; typedef
415 fn into_iter(self) -> Self::IntoIter { in into_iter()
422 pub struct IntoIter { struct
423 messages: vec::IntoIter<ErrorMessage>, argument
426 impl Iterator for IntoIter { implementation
438 type IntoIter = Iter<'a>; typedef
440 fn into_iter(self) -> Self::IntoIter { in into_iter()
Ddrops.rs37 impl<'a, T> TrivialDrop for option::IntoIter<&'a T> {} implementation
38 impl<'a, T> TrivialDrop for option::IntoIter<&'a mut T> {} implementation
/third_party/rust/crates/clap/src/util/
Dflat_set.rs75 type IntoIter = std::vec::IntoIter<T>; typedef
77 fn into_iter(self) -> Self::IntoIter { in into_iter()
84 type IntoIter = std::slice::Iter<'s, T>; typedef
86 fn into_iter(self) -> Self::IntoIter { in into_iter()
/third_party/rust/rust/tests/ui/borrowck/
Dreborrow-sugg-move-then-borrow.rs7 type IntoIter = std::vec::IntoIter<()>; typedef
10 fn into_iter(self) -> Self::IntoIter { in into_iter()
/third_party/rust/rust/tests/ui/methods/
Dinherent-bound-in-probe.rs40 type IntoIter = Helper<'a, T>; typedef
43 fn into_iter(self) -> Self::IntoIter { in into_iter()
/third_party/rust/rust/tests/rustdoc/
Dissue-60726.rs33 pub struct IntoIter<T>{ struct
34 hello:DynTrait<FooInterface<T>>,
/third_party/rust/rust/tests/ui/proc-macro/auxiliary/
Dmacro-only-syntax.rs66 fn expect(tokens: &mut token_stream::IntoIter, expected: &str) -> TokenTree { in expect()
73 fn expect_brace(tokens: &mut token_stream::IntoIter) -> token_stream::IntoIter { in expect_brace()
/third_party/rust/rust/library/core/src/iter/traits/
Dcollect.rs248 type IntoIter: Iterator<Item = Self::Item>; typedef
271 fn into_iter(self) -> Self::IntoIter; in into_iter()
278 type IntoIter = I; typedef
/third_party/rust/rust/compiler/rustc_data_structures/src/sso/
Dmap.rs125 pub fn iter(&self) -> <&Self as IntoIterator>::IntoIter { in iter()
406 type IntoIter = Either< typedef
412 fn into_iter(self) -> Self::IntoIter { in into_iter()
435 type IntoIter = Either< typedef
444 fn into_iter(self) -> Self::IntoIter { in into_iter()
453 type IntoIter = Either< typedef
462 fn into_iter(self) -> Self::IntoIter { in into_iter()
/third_party/rust/rust/library/alloc/src/collections/binary_heap/
Dmod.rs1488 pub struct IntoIter< struct
1492 iter: vec::IntoIter<T, A>, argument
1495 impl<T, A: Allocator> IntoIter<T, A> { implementation
1504 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> { implementation
1511 impl<T, A: Allocator> Iterator for IntoIter<T, A> { implementation
1526 impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> { implementation
1534 impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> { implementation
1541 impl<T, A: Allocator> FusedIterator for IntoIter<T, A> {} implementation
1544 impl<T> Default for IntoIter<T> { implementation
1561 unsafe impl<T, A: Allocator> SourceIter for IntoIter<T, A> { implementation
[all …]
/third_party/rust/rust/library/core/src/
Dresult.rs1697 type IntoIter = IntoIter<T>; typedef
1723 type IntoIter = Iter<'a, T>; typedef
1733 type IntoIter = IterMut<'a, T>; typedef
1846 pub struct IntoIter<T> { struct
1851 impl<T> Iterator for IntoIter<T> { implementation
1866 impl<T> DoubleEndedIterator for IntoIter<T> { implementation
1874 impl<T> ExactSizeIterator for IntoIter<T> {} implementation
1877 impl<T> FusedIterator for IntoIter<T> {} implementation
1880 unsafe impl<A> TrustedLen for IntoIter<A> {} implementation

12345