Struct mcfly::simplified_command::SimplifiedCommand
source · [−]Fields
original: String
result: String
truncate: bool
Implementations
sourceimpl SimplifiedCommand
impl SimplifiedCommand
The goal of SimplifiedCommand is to produce a reduced approximation of the given command for template matching. It may not produce an exact simplification. (For example, it does not handle deeply nested escaping, and it drops escape characters.) Possible enhancements:
- Sort and expand command line options.
- Check to see if unknown strings represent valid local paths in the directory where the command was run.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SimplifiedCommand
impl Send for SimplifiedCommand
impl Sync for SimplifiedCommand
impl Unpin for SimplifiedCommand
impl UnwindSafe for SimplifiedCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more