Struct spack::commands::python::SpackPython
source · pub struct SpackPython {
pub spack: SpackInvocation,
pub script: String,
pub passthrough: Argv,
}Expand description
spack python command request.
Fields§
§spack: SpackInvocation§script: StringThe contents of the python script to execute.
passthrough: ArgvTrait Implementations§
source§impl Clone for SpackPython
impl Clone for SpackPython
source§fn clone(&self) -> SpackPython
fn clone(&self) -> SpackPython
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 CommandBase for SpackPython
impl CommandBase for SpackPython
source§async fn setup_command(self) -> Result<Command, SetupError>
async fn setup_command(self) -> Result<Command, SetupError>
Generate a command line from the given object.
Auto Trait Implementations§
impl RefUnwindSafe for SpackPython
impl Send for SpackPython
impl Sync for SpackPython
impl Unpin for SpackPython
impl UnwindSafe for SpackPython
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