pub struct WorkspaceManifest {
pub root_manifest_path: PathBuf,
pub packages: Vec<FeatureManifest>,
}Expand description
A workspace-aware view of one or more Cargo packages selected for analysis.
Fields§
§root_manifest_path: PathBufRoot workspace manifest used as the base for relative output paths.
packages: Vec<FeatureManifest>Selected package manifests in deterministic display order.
Implementations§
Source§impl WorkspaceManifest
impl WorkspaceManifest
Sourcepub fn is_single_package(&self) -> bool
pub fn is_single_package(&self) -> bool
Returns true when exactly one package was selected.
Sourcepub fn package_names(&self) -> Vec<&str>
pub fn package_names(&self) -> Vec<&str>
Returns the selected package names in display order.
Trait Implementations§
Source§impl Clone for WorkspaceManifest
impl Clone for WorkspaceManifest
Source§fn clone(&self) -> WorkspaceManifest
fn clone(&self) -> WorkspaceManifest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkspaceManifest
impl Debug for WorkspaceManifest
Source§impl PartialEq for WorkspaceManifest
impl PartialEq for WorkspaceManifest
impl Eq for WorkspaceManifest
impl StructuralPartialEq for WorkspaceManifest
Auto Trait Implementations§
impl Freeze for WorkspaceManifest
impl RefUnwindSafe for WorkspaceManifest
impl Send for WorkspaceManifest
impl Sync for WorkspaceManifest
impl Unpin for WorkspaceManifest
impl UnsafeUnpin for WorkspaceManifest
impl UnwindSafe for WorkspaceManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.