Trait cli_xtask::workspace::PackageExt
source · pub trait PackageExt {
fn each_feature(&self) -> EachFeature<'_> ⓘ;
fn root_directory(&self) -> &Utf8Path;
}
Expand description
Extension methods for cargo_metadata::Package
.
Required Methods§
sourcefn each_feature(&self) -> EachFeature<'_> ⓘ
fn each_feature(&self) -> EachFeature<'_> ⓘ
Returns the iterator over each feature options for the package.
sourcefn root_directory(&self) -> &Utf8Path
fn root_directory(&self) -> &Utf8Path
Returns the package root directory.