Home
last modified time | relevance | path

Searched refs:IntoIter (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/rust/alloc/vec/
Dinto_iter.rs32 pub struct IntoIter< struct
47 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> { argument
53 impl<T, A: Allocator> IntoIter<T, A> { implementation
136 impl<T, A: Allocator> AsRef<[T]> for IntoIter<T, A> { implementation
143 unsafe impl<T: Send, A: Allocator + Send> Send for IntoIter<T, A> {} implementation
145 unsafe impl<T: Sync, A: Allocator + Sync> Sync for IntoIter<T, A> {} implementation
148 impl<T, A: Allocator> Iterator for IntoIter<T, A> { implementation
228 impl<T, A: Allocator> DoubleEndedIterator for IntoIter<T, A> { implementation
271 impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> { implementation
278 impl<T, A: Allocator> FusedIterator for IntoIter<T, A> {} implementation
[all …]
Dmod.rs103 pub use self::into_iter::IntoIter;
2637 <Self as SpecFromIter<T, I::IntoIter>>::from_iter(iter.into_iter()) in from_iter()
2644 type IntoIter = IntoIter<T, A>; typedef
2660 fn into_iter(self) -> IntoIter<T, A> { in into_iter()
2671 IntoIter { in into_iter()
2686 type IntoIter = slice::Iter<'a, T>; typedef
2696 type IntoIter = slice::IterMut<'a, T>; typedef
2708 <Self as SpecExtend<T, I::IntoIter>>::spec_extend(self, iter.into_iter()) in extend()
2786 pub fn splice<R, I>(&mut self, range: R, replace_with: I) -> Splice<'_, I::IntoIter, A> in splice() argument
/Linux-v6.1/rust/macros/
Dhelpers.rs5 pub(crate) fn try_ident(it: &mut token_stream::IntoIter) -> Option<String> { in try_ident()
13 pub(crate) fn try_literal(it: &mut token_stream::IntoIter) -> Option<String> { in try_literal()
21 pub(crate) fn try_byte_string(it: &mut token_stream::IntoIter) -> Option<String> { in try_byte_string()
31 pub(crate) fn expect_ident(it: &mut token_stream::IntoIter) -> String { in expect_ident()
35 pub(crate) fn expect_punct(it: &mut token_stream::IntoIter) -> char { in expect_punct()
43 pub(crate) fn expect_byte_string(it: &mut token_stream::IntoIter) -> String { in expect_byte_string()
47 pub(crate) fn expect_end(it: &mut token_stream::IntoIter) { in expect_end() argument
Dmodule.rs85 fn parse(it: &mut token_stream::IntoIter) -> Self { in parse()