#[non_exhaustive]pub struct Launch {
pub bundle: Bundle,
pub assets: PathBuf,
pub package: Option<App>,
}Expand description
What a packaged app’s launcher runs (launch).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bundle: BundleThe bundle to run.
assets: PathBufWhere its assets are: the package’s when it runs one, else the
shipped assets directory.
package: Option<App>The package it runs (None: the shipped bundle).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Launch
impl !UnwindSafe for Launch
impl Forget for Launch
impl Freeze for Launch
impl Move for Launch
impl Send for Launch
impl Sync for Launch
impl Unpin for Launch
impl UnsafeUnpin for Launch
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