#[non_exhaustive]pub struct PackageRun {
pub bundle: Bundle,
pub assets: PathBuf,
pub app: App,
}Expand description
A package to run instead of the shipped bundle (package_to_run).
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: BundleIts bundle, as the shipped app’s (launch).
assets: PathBufWhere its assets are.
app: AppIts app.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for PackageRun
impl !UnwindSafe for PackageRun
impl Forget for PackageRun
impl Freeze for PackageRun
impl Move for PackageRun
impl Send for PackageRun
impl Sync for PackageRun
impl Unpin for PackageRun
impl UnsafeUnpin for PackageRun
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