Struct rustc_save_analysis::DumpHandler
source · [−]Expand description
Dump the save-analysis results to a file.
Fields
odir: Option<&'a Path>
cratename: String
Implementations
sourceimpl<'a> DumpHandler<'a>
impl<'a> DumpHandler<'a>
pub fn new(odir: Option<&'a Path>, cratename: &str) -> DumpHandler<'a>
pub(crate) fn output_file(
&self,
ctx: &SaveContext<'_>
) -> (BufWriter<File>, PathBuf)
Trait Implementations
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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