pub struct PreProcessInstruction {
pub command: Option<String>,
pub arguments: Option<Vec<String>>,
}
Expand description
Preprocess instruction
Fields§
§command: Option<String>
The command name
arguments: Option<Vec<String>>
The command arguments
Implementations§
source§impl PreProcessInstruction
impl PreProcessInstruction
sourcepub fn new() -> PreProcessInstruction
pub fn new() -> PreProcessInstruction
Creates and returns a new instance.
Trait Implementations§
source§impl Clone for PreProcessInstruction
impl Clone for PreProcessInstruction
source§fn clone(&self) -> PreProcessInstruction
fn clone(&self) -> PreProcessInstruction
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 moresource§impl Debug for PreProcessInstruction
impl Debug for PreProcessInstruction
source§impl Default for PreProcessInstruction
impl Default for PreProcessInstruction
source§fn default() -> PreProcessInstruction
fn default() -> PreProcessInstruction
Returns the “default value” for a type. Read more
source§impl InstructionOperations for PreProcessInstruction
impl InstructionOperations for PreProcessInstruction
source§fn is_actionable(&self) -> bool
fn is_actionable(&self) -> bool
Returns true if this instruction has some actionable command to run
Auto Trait Implementations§
impl Freeze for PreProcessInstruction
impl RefUnwindSafe for PreProcessInstruction
impl Send for PreProcessInstruction
impl Sync for PreProcessInstruction
impl Unpin for PreProcessInstruction
impl UnwindSafe for PreProcessInstruction
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)