pub struct Launcher {
pub kind: LauncherKind,
pub python_path: PathBuf,
pub script_data: Option<Vec<u8>>,
}Fields§
§kind: LauncherKind§python_path: PathBuf§script_data: Option<Vec<u8>>Implementations§
Source§impl Launcher
impl Launcher
Sourcepub fn write_to_file(self, _file: &mut File, _is_gui: bool) -> Result<(), Error>
pub fn write_to_file(self, _file: &mut File, _is_gui: bool) -> Result<(), Error>
Write this trampoline launcher to a file.
On Unix, this always returns Error::NotWindows. Trampolines are a Windows-specific
feature and cannot be written on other platforms.
pub fn with_python_path(self, path: PathBuf) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Launcher
impl RefUnwindSafe for Launcher
impl Send for Launcher
impl Sync for Launcher
impl Unpin for Launcher
impl UnsafeUnpin for Launcher
impl UnwindSafe for Launcher
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