pub struct CrateCtx {
pub manifest_dir: Option<PathBuf>,
pub edition: String,
pub baseline_ok: Option<bool>,
}Expand description
Shared per-crate context resolved once (manifest dir, edition, baseline build state).
Fields§
§manifest_dir: Option<PathBuf>§edition: String§baseline_ok: Option<bool>Whether the crate compiled before we touched it (verification is meaningless if not).
Implementations§
Auto Trait Implementations§
impl Freeze for CrateCtx
impl RefUnwindSafe for CrateCtx
impl Send for CrateCtx
impl Sync for CrateCtx
impl Unpin for CrateCtx
impl UnsafeUnpin for CrateCtx
impl UnwindSafe for CrateCtx
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