pub struct FeatureResolver<'a, 'cfg> { /* private fields */ }
Implementations
sourceimpl<'a, 'cfg> FeatureResolver<'a, 'cfg>
impl<'a, 'cfg> FeatureResolver<'a, 'cfg>
sourcepub fn resolve(
ws: &Workspace<'cfg>,
target_data: &RustcTargetData<'cfg>,
resolve: &Resolve,
package_set: &'a PackageSet<'cfg>,
cli_features: &CliFeatures,
specs: &[PackageIdSpec],
requested_targets: &[CompileKind],
opts: FeatureOpts
) -> CargoResult<ResolvedFeatures>
pub fn resolve(
ws: &Workspace<'cfg>,
target_data: &RustcTargetData<'cfg>,
resolve: &Resolve,
package_set: &'a PackageSet<'cfg>,
cli_features: &CliFeatures,
specs: &[PackageIdSpec],
requested_targets: &[CompileKind],
opts: FeatureOpts
) -> CargoResult<ResolvedFeatures>
Runs the resolution algorithm and returns a new ResolvedFeatures
with the result.
Auto Trait Implementations
impl<'a, 'cfg> !RefUnwindSafe for FeatureResolver<'a, 'cfg>
impl<'a, 'cfg> !Send for FeatureResolver<'a, 'cfg>
impl<'a, 'cfg> !Sync for FeatureResolver<'a, 'cfg>
impl<'a, 'cfg> Unpin for FeatureResolver<'a, 'cfg> where
'cfg: 'a,
impl<'a, 'cfg> !UnwindSafe for FeatureResolver<'a, 'cfg>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more