pub struct Pipeline(pub Vec<Pipe>);Expand description
The :-punctuated sequence of Pipe, to form a complete pipeline for an expansion block.
Tuple Fields§
§0: Vec<Pipe>Trait Implementations§
Source§impl Expand for Pipeline
impl Expand for Pipeline
Source§type Context = TokelStream
type Context = TokelStream
Additional context or data required to expand this specific node. Read more
Source§fn expand_with(
self,
session: &mut Session,
body: Self::Context,
) -> Result<TokenStream, Error>
fn expand_with( self, session: &mut Session, body: Self::Context, ) -> Result<TokenStream, Error>
Expands the AST node into a fully resolved token stream using explicit context. Read more
Auto Trait Implementations§
impl Freeze for Pipeline
impl RefUnwindSafe for Pipeline
impl !Send for Pipeline
impl !Sync for Pipeline
impl Unpin for Pipeline
impl UnsafeUnpin for Pipeline
impl UnwindSafe for Pipeline
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