struct Package {
dir: PathBuf,
edition: String,
roots: Vec<PathBuf>,
}Expand description
Metadata about one workspace package.
Fields§
§dir: PathBufThe directory containing the package’s Cargo.toml.
edition: String§roots: Vec<PathBuf>The crate root of each of the package’s targets.
Auto Trait Implementations§
impl Freeze for Package
impl RefUnwindSafe for Package
impl Send for Package
impl Sync for Package
impl Unpin for Package
impl UnsafeUnpin for Package
impl UnwindSafe for Package
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