pub enum BooleanShortcut {
HasDeps,
NoDeps,
HasInputs,
NoInputs,
HasOutputs,
NoOutputs,
Mutex,
}Expand description
A boolean shortcut filter per QRY-005.
Each variant maps 1:1 to a CLI flag. The variant identity captures everything the engine needs to evaluate the predicate against a task; no further parameters are required.
Variants§
HasDeps
--has-deps: the task’s deps: is non-empty.
NoDeps
--no-deps: the task’s deps: is empty.
HasInputs
--has-inputs: the task’s inputs: is non-empty.
NoInputs
--no-inputs: the task’s inputs: is empty.
HasOutputs
--has-outputs: the task’s outputs: is non-empty.
NoOutputs
--no-outputs: the task’s outputs: is empty.
Mutex
--mutex: the task declares a mutex: field per
CFG-019.
Implementations§
Trait Implementations§
Source§impl Clone for BooleanShortcut
impl Clone for BooleanShortcut
Source§fn clone(&self) -> BooleanShortcut
fn clone(&self) -> BooleanShortcut
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BooleanShortcut
impl Debug for BooleanShortcut
Source§impl Hash for BooleanShortcut
impl Hash for BooleanShortcut
Source§impl PartialEq for BooleanShortcut
impl PartialEq for BooleanShortcut
Source§fn eq(&self, other: &BooleanShortcut) -> bool
fn eq(&self, other: &BooleanShortcut) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BooleanShortcut
impl Eq for BooleanShortcut
impl StructuralPartialEq for BooleanShortcut
Auto Trait Implementations§
impl Freeze for BooleanShortcut
impl RefUnwindSafe for BooleanShortcut
impl Send for BooleanShortcut
impl Sync for BooleanShortcut
impl Unpin for BooleanShortcut
impl UnsafeUnpin for BooleanShortcut
impl UnwindSafe for BooleanShortcut
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more