#[non_exhaustive]pub struct GameBake {
pub bake: Bake,
pub bundle: Bundle,
pub formats: Formats,
}Expand description
What a game bakes into its pack (GameTools::bake). Build it with
GameBake::new (ADR-0039).
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.bake: BakeWhich assets of which kinds, and the game’s stamp.
bundle: BundleThe bundle of its sources: the layers it ships for the target.
formats: FormatsThe formats its loaders read the sources with (the pack’s own are added to them).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GameBake
impl !UnwindSafe for GameBake
impl Freeze for GameBake
impl Send for GameBake
impl Sync for GameBake
impl Unpin for GameBake
impl UnsafeUnpin for GameBake
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