/external/rust/crates/futures-util/src/stream/stream/ |
D | peek.rs | 22 pub struct Peekable<St: Stream> { 29 impl<St: Stream> Peekable<St> { implementation 189 impl<St: Stream> FusedStream for Peekable<St> { implementation 195 impl<S: Stream> Stream for Peekable<S> { implementation 220 impl<S, Item> Sink<Item> for Peekable<S> implementation 233 inner: Option<Pin<&'a mut Peekable<St>>>, 275 inner: Option<Pin<&'a mut Peekable<St>>>, 317 inner: Option<(Pin<&'a mut Peekable<St>>, F)>,
|
D | mod.rs | 138 pub use self::peek::{NextIf, NextIfEq, Peek, PeekMut, Peekable}; 1474 fn peekable(self) -> Peekable<Self> in peekable() 1478 assert_stream::<Self::Item, _>(Peekable::new(self)) in peekable()
|
/external/rust/crates/proc-macro-error-attr/src/ |
D | parse.rs | 4 use std::iter::Peekable; 28 input: &mut Peekable<impl Iterator<Item = TokenTree>>, in parse_next_attr() 59 fn parse_signature(input: &mut Peekable<impl Iterator<Item = TokenTree>>) -> Vec<TokenTree> { in parse_signature()
|
/external/rust/crates/pest/src/ |
D | pratt_parser.rs | 13 use core::iter::Peekable; 323 fn expr<P: Iterator<Item = Pair<'i, R>>>(&mut self, pairs: &mut Peekable<P>, rbp: Prec) -> T { in expr() 335 fn nud<P: Iterator<Item = Pair<'i, R>>>(&mut self, pairs: &mut Peekable<P>) -> T { in nud() 354 fn led<P: Iterator<Item = Pair<'i, R>>>(&mut self, pairs: &mut Peekable<P>, lhs: T) -> T { in led() 378 fn lbp<P: Iterator<Item = Pair<'i, R>>>(&mut self, pairs: &mut Peekable<P>) -> Prec { in lbp()
|
D | prec_climber.rs | 15 use core::iter::Peekable; 317 pairs: &mut Peekable<P>, in climb_rec()
|
/external/rust/crates/itertools/src/ |
D | with_position.rs | 1 use std::iter::{Fuse,Peekable, FusedIterator}; 13 peekable: Peekable<Fuse<I>>,
|
D | peeking_take_while.rs | 1 use std::iter::Peekable; 22 impl<I> PeekingNext for Peekable<I> implementation
|
/external/rust/crates/futures/tests/ |
D | stream_peekable.rs | 3 use futures::stream::{self, Peekable, StreamExt}; 8 let peekable: Peekable<_> = stream::iter(vec![1u8, 2, 3]).peekable(); in peekable()
|
D | auto_traits.rs | 1454 assert_impl!(Peekable<SendStream<()>>: Send); 1455 assert_not_impl!(Peekable<SendStream>: Send); 1456 assert_not_impl!(Peekable<LocalStream>: Send); 1457 assert_impl!(Peekable<SyncStream<()>>: Sync); 1458 assert_not_impl!(Peekable<SyncStream>: Sync); 1459 assert_not_impl!(Peekable<LocalStream>: Sync); 1460 assert_impl!(Peekable<UnpinStream>: Unpin); 1461 assert_not_impl!(Peekable<PinnedStream>: Unpin);
|
/external/rust/crates/os_str_bytes/src/windows/wtf8/ |
D | code_points.rs | 2 use std::iter::Peekable; 16 iter: Peekable<I>,
|
/external/rust/crates/peeking_take_while/src/ |
D | lib.rs | 103 impl<I: Iterator> PeekableExt<I> for core::iter::Peekable<I> { implementation 123 pub(crate) iter: &'a mut core::iter::Peekable<I>,
|
/external/rust/crates/paste/src/ |
D | segment.rs | 3 use std::iter::Peekable; 21 pub(crate) fn parse(tokens: &mut Peekable<token_stream::IntoIter>) -> Result<Vec<Segment>> { in parse()
|
/external/rust/crates/itertools/src/adaptors/ |
D | mod.rs | 18 use std::iter::{Fuse, Peekable, FromIterator, FusedIterator}; 520 a: Peekable<I>, 521 b: Peekable<J>, 556 Peekable<I>: Clone, 557 Peekable<J>: Clone,
|
/external/rust/crates/futures-util/src/stream/ |
D | mod.rs | 22 Fuse, Inspect, Map, Next, NextIf, NextIfEq, Peek, PeekMut, Peekable, Scan, SelectNextSome,
|
/external/rust/crates/futures/tests_disabled/ |
D | stream.rs | 5 use futures::stream::{empty, iter_ok, poll_fn, Peekable}; 261 inner: Peekable<Box<Stream<Item = i32, Error = u32> + Send>>, in peek()
|
/external/rust/crates/ciborium/src/value/ |
D | de.rs | 6 use core::iter::Peekable; 520 for Deserializer<Peekable<T>>
|
/external/rust/crates/pest_meta/src/ |
D | parser.rs | 13 use std::iter::Peekable; 309 pairs: Peekable<Pairs<'i, Rule>>, in consume_expr() 313 mut pairs: Peekable<Pairs<'i, Rule>>, in consume_expr()
|
/external/rust/crates/fallible-iterator/src/ |
D | lib.rs | 297 fn peekable(self) -> Peekable<Self> in peekable() 301 Peekable { in peekable() 2184 pub struct Peekable<I: FallibleIterator> { 2189 impl<I> Peekable<I> impl 2204 impl<I> FallibleIterator for Peekable<I>
|
/external/rust/crates/csv/src/ |
D | deserializer.rs | 152 it: iter::Peekable<StringRecordIter<'r>>, 233 it: iter::Peekable<ByteRecordIter<'r>>,
|