pub enum RuleItem {
Recipe(String),
Conditional(Conditional),
}Expand description
Represents different types of items that can appear in a Rule’s body
Variants§
Recipe(String)
A recipe line (command to execute)
Conditional(Conditional)
A conditional block within the rule
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleItem
impl !RefUnwindSafe for RuleItem
impl !Send for RuleItem
impl !Sync for RuleItem
impl Unpin for RuleItem
impl !UnwindSafe for RuleItem
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)