Struct lit::tool::Invocation
[−]
[src]
pub struct Invocation { pub executable: String, pub arguments: Vec<Argument>, }
A tool invocation.
Fields
executable: String
arguments: Vec<Argument>
Methods
impl Invocation
[src]
fn parse<'a, I>(words: I) -> Result<Self, String> where
I: Iterator<Item = &'a str>,
I: Iterator<Item = &'a str>,
Parses a tool invocation.
It is in the format:
<tool-name> [arg1] [arg2] ...
Trait Implementations
impl Clone for Invocation
[src]
fn clone(&self) -> Invocation
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Invocation
[src]
impl PartialEq for Invocation
[src]
fn eq(&self, __arg_0: &Invocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Invocation) -> bool
This method tests for !=
.