pub struct AotLauncherFiles {
pub dependencies: Vec<LauncherDependency>,
pub files: BTreeMap<PathBuf, String>,
}Expand description
Source files and manifest additions produced by a target-owned launcher emitter.
Fields§
§dependencies: Vec<LauncherDependency>Additional dependencies required by target-specific launcher files.
files: BTreeMap<PathBuf, String>Source files keyed by launcher-crate-relative path.
Implementations§
Source§impl AotLauncherFiles
impl AotLauncherFiles
Sourcepub fn from_entries(
dependencies: Vec<LauncherDependency>,
entries: impl IntoIterator<Item = (PathBuf, String)>,
) -> Self
pub fn from_entries( dependencies: Vec<LauncherDependency>, entries: impl IntoIterator<Item = (PathBuf, String)>, ) -> Self
Build launcher files from a fixed backend emission list.
Backends should emit files in a deterministic order and delegate the final path-keyed container construction here instead of open-coding per-backend map assembly.
Trait Implementations§
Source§impl Clone for AotLauncherFiles
impl Clone for AotLauncherFiles
Source§fn clone(&self) -> AotLauncherFiles
fn clone(&self) -> AotLauncherFiles
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AotLauncherFiles
impl Debug for AotLauncherFiles
Source§impl Default for AotLauncherFiles
impl Default for AotLauncherFiles
Source§fn default() -> AotLauncherFiles
fn default() -> AotLauncherFiles
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AotLauncherFiles
impl RefUnwindSafe for AotLauncherFiles
impl Send for AotLauncherFiles
impl Sync for AotLauncherFiles
impl Unpin for AotLauncherFiles
impl UnsafeUnpin for AotLauncherFiles
impl UnwindSafe for AotLauncherFiles
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