Trait cli_xtask::workspace::PackageExt
source · [−]pub trait PackageExt {
fn each_feature(&self) -> EachFeature<'_>ⓘNotable traits for EachFeature<'a>impl<'a> Iterator for EachFeature<'a> type Item = FeatureOption<'a>;
;
fn root_directory(&self) -> &Utf8Path;
}
Expand description
Extension methods for cargo_metadata::Package
.
Required Methods
fn each_feature(&self) -> EachFeature<'_>ⓘNotable traits for EachFeature<'a>impl<'a> Iterator for EachFeature<'a> type Item = FeatureOption<'a>;
fn each_feature(&self) -> EachFeature<'_>ⓘNotable traits for EachFeature<'a>impl<'a> Iterator for EachFeature<'a> type Item = FeatureOption<'a>;
Returns the iterator over each feature options for the package.
fn root_directory(&self) -> &Utf8Path
fn root_directory(&self) -> &Utf8Path
Returns the package root directory.