pub struct PipeCompiler { /* private fields */ }
Expand description
Create a large compiler by piping multiple compilers.
You may also use pipe!
macro.
Implementations§
Source§impl PipeCompiler
impl PipeCompiler
pub fn new() -> Self
Sourcepub fn add_compiler(self, compiler: impl Compiler + 'static) -> Self
pub fn add_compiler(self, compiler: impl Compiler + 'static) -> Self
Add the compiler to the end of the pipeline.
Trait Implementations§
Source§impl Clone for PipeCompiler
impl Clone for PipeCompiler
Source§fn clone(&self) -> PipeCompiler
fn clone(&self) -> PipeCompiler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Compiler for PipeCompiler
impl Compiler for PipeCompiler
Source§fn next_step(&mut self, ctx: Context) -> CompilerReturn
fn next_step(&mut self, ctx: Context) -> CompilerReturn
Executes the next step of the compilation
Auto Trait Implementations§
impl Freeze for PipeCompiler
impl !RefUnwindSafe for PipeCompiler
impl Send for PipeCompiler
impl Sync for PipeCompiler
impl Unpin for PipeCompiler
impl !UnwindSafe for PipeCompiler
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