pub enum MissingCommand<'a> {
Build {
package: &'a str,
target: Option<&'a str>,
},
Xtask {
description: &'a str,
xtask_args: &'a [&'a str],
},
XFlowey {
description: &'a str,
xflowey_args: &'a [&'a str],
},
Restore {
description: &'a str,
},
Custom {
description: &'a str,
cmd: &'a str,
},
}
Expand description
A description of a command that can be run to create a missing file.
Variants§
Build
A cargo build
invocation.
Xtask
A cargo xtask
invocation.
XFlowey
A cargo xflowey
invocation.
Restore
A xflowey restore-packages
invocation.
Custom
A custom command.
Trait Implementations§
Source§impl<'a> Clone for MissingCommand<'a>
impl<'a> Clone for MissingCommand<'a>
Source§fn clone(&self) -> MissingCommand<'a>
fn clone(&self) -> MissingCommand<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'a> Copy for MissingCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for MissingCommand<'a>
impl<'a> RefUnwindSafe for MissingCommand<'a>
impl<'a> Send for MissingCommand<'a>
impl<'a> Sync for MissingCommand<'a>
impl<'a> Unpin for MissingCommand<'a>
impl<'a> UnwindSafe for MissingCommand<'a>
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