pub struct Script<'a> {
pub name: &'static str,
pub interpreter: &'a Path,
pub source: &'a str,
pub argument: &'a str,
pub inherited_variables: &'a [&'a str],
}Available on neither
target_family=wasm nor iOS.Expand description
What to run, and the name its log lines and threads carry.
Fields§
§name: &'static str§interpreter: &'a Path§source: &'a str§argument: &'a str§inherited_variables: &'a [&'a str]Variables copied from the parent. The child also receives HOME and PYTHONSAFEPATH; the remaining environment is cleared.
Auto Trait Implementations§
impl<'a> Freeze for Script<'a>
impl<'a> RefUnwindSafe for Script<'a>
impl<'a> Send for Script<'a>
impl<'a> Sync for Script<'a>
impl<'a> Unpin for Script<'a>
impl<'a> UnsafeUnpin for Script<'a>
impl<'a> UnwindSafe for Script<'a>
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