pub struct LaunchConfig {
pub args: LaunchArgs,
pub memory: LaunchMemory,
pub java: String,
pub preset: String,
pub env: HashMap<String, String>,
pub wrapper: Option<WrapperCommand>,
pub quick_play: QuickPlay,
pub use_log4j_config: bool,
}Expand description
Configuration for the launching of the game
Fields§
§args: LaunchArgsThe arguments for the process
memory: LaunchMemoryJVM memory options
java: StringThe java installation to use
preset: StringThe preset for flags
env: HashMap<String, String>Environment variables
wrapper: Option<WrapperCommand>A wrapper command
quick_play: QuickPlayQuickPlay options
use_log4j_config: boolWhether or not to use the Log4J configuration
Implementations§
Source§impl LaunchConfig
impl LaunchConfig
Trait Implementations§
Source§impl Clone for LaunchConfig
impl Clone for LaunchConfig
Source§fn clone(&self) -> LaunchConfig
fn clone(&self) -> LaunchConfig
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 LaunchConfig
impl Debug for LaunchConfig
Source§impl Default for LaunchConfig
impl Default for LaunchConfig
Source§impl<'de> Deserialize<'de> for LaunchConfig
impl<'de> Deserialize<'de> for LaunchConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LaunchConfig
impl PartialEq for LaunchConfig
Source§fn eq(&self, other: &LaunchConfig) -> bool
fn eq(&self, other: &LaunchConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LaunchConfig
impl Serialize for LaunchConfig
impl StructuralPartialEq for LaunchConfig
Auto Trait Implementations§
impl Freeze for LaunchConfig
impl RefUnwindSafe for LaunchConfig
impl Send for LaunchConfig
impl Sync for LaunchConfig
impl Unpin for LaunchConfig
impl UnsafeUnpin for LaunchConfig
impl UnwindSafe for LaunchConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DefaultExt for T
impl<T> DefaultExt for T
Source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Check if the value is equal to it’s default value