Enum cargo::ops::CompileFilter [−][src]
Variants
Fields of Default
required_features_filterable: boolFlag whether targets can be safely skipped when required-features are not satisfied.
Fields of Only
all_targets: boollib: LibRulebins: FilterRuleexamples: FilterRuletests: FilterRulebenches: FilterRuleImplementations
impl CompileFilter[src]
pub fn from_raw_arguments(
lib_only: bool,
bins: Vec<String>,
all_bins: bool,
tsts: Vec<String>,
all_tsts: bool,
exms: Vec<String>,
all_exms: bool,
bens: Vec<String>,
all_bens: bool,
all_targets: bool
) -> CompileFilter[src]
lib_only: bool,
bins: Vec<String>,
all_bins: bool,
tsts: Vec<String>,
all_tsts: bool,
exms: Vec<String>,
all_exms: bool,
bens: Vec<String>,
all_bens: bool,
all_targets: bool
) -> CompileFilter
Construct a CompileFilter from raw command line arguments.
pub fn new(
rule_lib: LibRule,
rule_bins: FilterRule,
rule_tsts: FilterRule,
rule_exms: FilterRule,
rule_bens: FilterRule
) -> CompileFilter[src]
rule_lib: LibRule,
rule_bins: FilterRule,
rule_tsts: FilterRule,
rule_exms: FilterRule,
rule_bens: FilterRule
) -> CompileFilter
Construct a CompileFilter from underlying primitives.
pub fn new_all_targets() -> CompileFilter[src]
pub fn need_dev_deps(&self, mode: CompileMode) -> bool[src]
pub fn target_run(&self, target: &Target) -> bool[src]
pub fn is_specific(&self) -> bool[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompileFilter
impl Send for CompileFilter
impl Sync for CompileFilter
impl Unpin for CompileFilter
impl UnwindSafe for CompileFilter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>, [src]
V: MultiLane<T>,