Struct rustc_save_analysis::DumpHandler
source · Expand description
Dump the save-analysis results to a file.
Fields§
§odir: Option<&'a Path>
§cratename: String
Implementations§
source§impl<'a> DumpHandler<'a>
impl<'a> DumpHandler<'a>
pub fn new(odir: Option<&'a Path>, cratename: Symbol) -> DumpHandler<'a>
pub(crate) fn output_file(
&self,
ctx: &SaveContext<'_>
) -> (BufWriter<File>, PathBuf)
Trait Implementations§
source§impl SaveHandler for DumpHandler<'_>
impl SaveHandler for DumpHandler<'_>
fn save(&mut self, save_ctxt: &SaveContext<'_>, analysis: &Analysis)
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DumpHandler<'a>
impl<'a> Send for DumpHandler<'a>
impl<'a> Sync for DumpHandler<'a>
impl<'a> Unpin for DumpHandler<'a>
impl<'a> UnwindSafe for DumpHandler<'a>
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 40 bytes