pub struct LaunchOptions {
pub java: JavaInstallationKind,
pub jvm_args: Vec<String>,
pub game_args: Vec<String>,
pub min_mem: Option<MemoryNum>,
pub max_mem: Option<MemoryNum>,
pub preset: ArgsPreset,
pub env: HashMap<String, String>,
pub wrapper: Option<WrapperCommand>,
pub quick_play: QuickPlay,
pub use_log4j_config: bool,
}Expand description
Options for launching after conversion from the deserialized version
Fields§
§java: JavaInstallationKindJava kind
jvm_args: Vec<String>JVM arguments
game_args: Vec<String>Game arguments
min_mem: Option<MemoryNum>Minimum JVM memory
max_mem: Option<MemoryNum>Maximum JVM memory
preset: ArgsPresetJava arguments preset
env: HashMap<String, String>Environment variables
wrapper: Option<WrapperCommand>Wrapper command
quick_play: QuickPlayQuick Play options
use_log4j_config: boolWhether or not to use the Log4J configuration
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LaunchOptions
impl Send for LaunchOptions
impl Sync for LaunchOptions
impl Unpin for LaunchOptions
impl UnwindSafe for LaunchOptions
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