pub struct Writer<'a, W> { /* private fields */ }
Expand description
Writer responsible for all code generation.
Implementations§
source§impl<'a, W: Write> Writer<'a, W>
impl<'a, W: Write> Writer<'a, W>
sourcepub fn new(
out: W,
module: &'a Module,
info: &'a ModuleInfo,
options: &'a Options,
pipeline_options: &'a PipelineOptions,
policies: BoundsCheckPolicies
) -> Result<Self, Error>
pub fn new( out: W, module: &'a Module, info: &'a ModuleInfo, options: &'a Options, pipeline_options: &'a PipelineOptions, policies: BoundsCheckPolicies ) -> Result<Self, Error>
Auto Trait Implementations§
impl<'a, W> Freeze for Writer<'a, W>where
W: Freeze,
impl<'a, W> RefUnwindSafe for Writer<'a, W>where
W: RefUnwindSafe,
impl<'a, W> Send for Writer<'a, W>where
W: Send,
impl<'a, W> Sync for Writer<'a, W>where
W: Sync,
impl<'a, W> Unpin for Writer<'a, W>where
W: Unpin,
impl<'a, W> UnwindSafe for Writer<'a, W>where
W: UnwindSafe,
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