Home
last modified time | relevance | path

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

/openbmc/linux/rust/alloc/vec/
H A Dinto_iter.rs35 pub struct IntoIter< struct
52 impl<T: fmt::Debug, A: Allocator> fmt::Debug for IntoIter<T, A> { argument
58 impl<T, A: Allocator> IntoIter<T, A> { implementation
174 impl<T, A: Allocator> AsRef<[T]> for IntoIter<T, A> { implementation
186 impl<T, A: Allocator> Iterator for IntoIter<T, A> { implementation
335 impl<T, A: Allocator> ExactSizeIterator for IntoIter<T, A> { implementation
342 impl<T, A: Allocator> FusedIterator for IntoIter<T, A> {} implementation
345 unsafe impl<T, A: Allocator> TrustedLen for IntoIter<T, A> {} implementation
348 impl<T, A> Default for IntoIter<T, A> implementation
432 unsafe impl<T, A: Allocator> SourceIter for IntoIter<T, A> { implementation
[all …]
H A Dspec_extend.rs8 use super::{IntoIter, Vec};
60 impl<T, A: Allocator> SpecExtend<T, IntoIter<T>> for Vec<T, A> {
61 fn spec_extend(&mut self, mut iterator: IntoIter<T>) { in spec_extend()
69 impl<T, A: Allocator> TrySpecExtend<T, IntoIter<T>> for Vec<T, A> {
70 fn try_spec_extend(&mut self, mut iterator: IntoIter<T>) -> Result<(), TryReserveError> { in try_spec_extend()
H A Dmod.rs101 pub use self::into_iter::IntoIter;
2941 <Self as SpecFromIter<T, I::IntoIter>>::from_iter(iter.into_iter()) in from_iter()
2948 type IntoIter = IntoIter<T, A>; typedef
2967 fn into_iter(self) -> Self::IntoIter { in into_iter() argument
2978 IntoIter { in into_iter()
2993 type IntoIter = slice::Iter<'a, T>; typedef
2995 fn into_iter(self) -> Self::IntoIter { in into_iter() argument
3003 type IntoIter = slice::IterMut<'a, T>; typedef
3005 fn into_iter(self) -> Self::IntoIter { in into_iter() argument
3015 <Self as SpecExtend<T, I::IntoIter>>::spec_extend(self, iter.into_iter()) in extend()
[all …]
/openbmc/linux/rust/macros/
H A 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_string(it: &mut token_stream::IntoIter) -> Option<String> { in try_string()
37 pub(crate) fn expect_ident(it: &mut token_stream::IntoIter) -> String { in expect_ident()
41 pub(crate) fn expect_punct(it: &mut token_stream::IntoIter) -> char { in expect_punct()
49 pub(crate) fn expect_string(it: &mut token_stream::IntoIter) -> String { in expect_string()
53 pub(crate) fn expect_string_ascii(it: &mut token_stream::IntoIter) -> String { in expect_string_ascii()
59 pub(crate) fn expect_group(it: &mut token_stream::IntoIter) -> Group { in expect_group()
67 pub(crate) fn expect_end(it: &mut token_stream::IntoIter) { in expect_end() argument
H A Dconcat_idents.rs7 fn expect_ident(it: &mut token_stream::IntoIter) -> Ident { in expect_ident()
H A Dmodule.rs7 fn expect_string_array(it: &mut token_stream::IntoIter) -> Vec<String> { in expect_string_array()
103 fn parse(it: &mut token_stream::IntoIter) -> Self { in parse()