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 duplicate 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§fn setup_command<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>where
Self: 'async_trait,
fn setup_command<'async_trait>(
self,
) -> Pin<Box<dyn Future<Output = Result<Command, SetupError>> + Send + 'async_trait>>where
Self: 'async_trait,
Generate a command line from the given object.
Auto Trait Implementations§
impl Freeze for SpackPython
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