pub struct FeatureOpts { /* private fields */ }
Expand description
Options for how the feature resolver works.
Implementations§
source§impl FeatureOpts
impl FeatureOpts
pub fn new( ws: &Workspace<'_>, has_dev_units: HasDevUnits, force_all_targets: ForceAllTargets ) -> CargoResult<FeatureOpts>
sourcepub fn new_behavior(
behavior: ResolveBehavior,
has_dev_units: HasDevUnits
) -> FeatureOpts
pub fn new_behavior( behavior: ResolveBehavior, has_dev_units: HasDevUnits ) -> FeatureOpts
Creates a new FeatureOpts for the given behavior.
Trait Implementations§
source§impl Default for FeatureOpts
impl Default for FeatureOpts
source§fn default() -> FeatureOpts
fn default() -> FeatureOpts
Returns the “default value” for a type. Read more