pub struct JvmBuild<'a> {
pub javac: &'a Path,
pub release: u32,
pub classpath: &'a [PathBuf],
pub package: &'a str,
pub work: &'a Path,
pub to_server: bool,
pub files: Option<&'a dyn ModFiles>,
pub mod_id: &'a str,
pub content: &'a [(String, String)],
}Expand description
What a build for one game version needs: javac, the Java the version
runs (its java_version), what the code is compiled against (that
version’s loader jar), the package its classes go in, a folder to work in.
Fields§
§javac: &'a Path§release: u32§classpath: &'a [PathBuf]§package: &'a str§work: &'a Path§to_server: boolIts mod says it sends to the server (yog.toml’s [network] to_server).
files: Option<&'a dyn ModFiles>The mod’s files its sources include.
mod_id: &'a strThe mod’s id: its content’s namespace.
content: &'a [(String, String)]The mod’s content files, each (kind, id): what its content declarations bind to.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for JvmBuild<'a>
impl<'a> !Send for JvmBuild<'a>
impl<'a> !Sync for JvmBuild<'a>
impl<'a> !UnwindSafe for JvmBuild<'a>
impl<'a> Freeze for JvmBuild<'a>
impl<'a> Unpin for JvmBuild<'a>
impl<'a> UnsafeUnpin for JvmBuild<'a>
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