Struct hippo::Preprocessor [−][src]
An agent responsible for preprocessor orchestration.
Fields
command: String
The command associated with the preprocessor.
flags: Vec<String, Global>
The collection of program options that will influence the command behavior.
prefix: Option<String>
The path to the prepended to any input argument.
format: OutputFormat
The output format of the preprocessor. Defaults to bytes.
Implementations
impl Preprocessor
[src]
pub fn new(command: &str) -> Preprocessor
[src]
Construct a preprocessor.
pub fn rewrite_arguments(
&self,
args: &Vec<String, Global>
) -> Vec<String, Global>
[src]
&self,
args: &Vec<String, Global>
) -> Vec<String, Global>
Rewrite input arguments into absolute paths.
pub fn execute(&self, args: &Vec<String, Global>) -> Result<Output, Error>
[src]
Execute the preprocessor with input arguments.
Trait Implementations
impl<'de> Deserialize<'de> for Preprocessor
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<Preprocessor, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<Preprocessor, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Preprocessor
impl Send for Preprocessor
impl Sync for Preprocessor
impl Unpin for Preprocessor
impl UnwindSafe for Preprocessor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,