pub struct ExtractedSource {
pub root: PathBuf,
/* private fields */
}Expand description
An extracted crate source tree in a temporary directory.
Owns a TempDir that is cleaned up on drop. root is the actual crate root
(the single top-level directory inside the archive, where Cargo.toml lives).
Fields§
§root: PathBufThe path to the crate root inside the tempdir.
Auto Trait Implementations§
impl Freeze for ExtractedSource
impl RefUnwindSafe for ExtractedSource
impl Send for ExtractedSource
impl Sync for ExtractedSource
impl Unpin for ExtractedSource
impl UnsafeUnpin for ExtractedSource
impl UnwindSafe for ExtractedSource
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