Struct air_parser::ast::FoldStream
source · pub struct FoldStream<'i> {
pub iterable: Stream<'i>,
pub iterator: Scalar<'i>,
pub instruction: Rc<Instruction<'i>>,
pub last_instruction: Option<Rc<Instruction<'i>>>,
pub span: Span,
}
Expand description
(fold stream_iterable iterator instruction)
Fields§
§iterable: Stream<'i>
§iterator: Scalar<'i>
§instruction: Rc<Instruction<'i>>
§last_instruction: Option<Rc<Instruction<'i>>>
§span: Span
Implementations§
source§impl<'i> FoldStream<'i>
impl<'i> FoldStream<'i>
pub fn new( iterable: Stream<'i>, iterator: Scalar<'i>, instruction: Instruction<'i>, last_instruction: Option<Instruction<'i>>, span: Span, ) -> Self
Trait Implementations§
source§impl<'i> Debug for FoldStream<'i>
impl<'i> Debug for FoldStream<'i>
source§impl Display for FoldStream<'_>
impl Display for FoldStream<'_>
source§impl<'i> PartialEq for FoldStream<'i>
impl<'i> PartialEq for FoldStream<'i>
source§fn eq(&self, other: &FoldStream<'i>) -> bool
fn eq(&self, other: &FoldStream<'i>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PeerIDErrorLogable for FoldStream<'_>
impl PeerIDErrorLogable for FoldStream<'_>
fn log_errors_with_peer_id(&self) -> bool
source§impl<'i> Serialize for FoldStream<'i>
impl<'i> Serialize for FoldStream<'i>
impl<'i> StructuralPartialEq for FoldStream<'i>
Auto Trait Implementations§
impl<'i> Freeze for FoldStream<'i>
impl<'i> RefUnwindSafe for FoldStream<'i>
impl<'i> !Send for FoldStream<'i>
impl<'i> !Sync for FoldStream<'i>
impl<'i> Unpin for FoldStream<'i>
impl<'i> UnwindSafe for FoldStream<'i>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more