pub struct LaunchArguments {
pub game: Vec<Argument>,
pub jvm: Vec<Argument>,
}
Expand description
Game and JVM arguments.
Fields§
§game: Vec<Argument>
Game arguments
jvm: Vec<Argument>
JVM arguments
Implementations§
Source§impl LaunchArguments
impl LaunchArguments
Sourcepub fn jvm_arguments(&self) -> Vec<String>
pub fn jvm_arguments(&self) -> Vec<String>
Gets all JVM arguments and also filters out some arguments that are not needed.
Sourcepub fn game_arguments(&self) -> Vec<String>
pub fn game_arguments(&self) -> Vec<String>
Gets all game arguments and also filters out some arguments that are not needed.
Trait Implementations§
Source§impl Clone for LaunchArguments
impl Clone for LaunchArguments
Source§fn clone(&self) -> LaunchArguments
fn clone(&self) -> LaunchArguments
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LaunchArguments
impl Debug for LaunchArguments
Source§impl<'de> Deserialize<'de> for LaunchArguments
impl<'de> Deserialize<'de> for LaunchArguments
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
Auto Trait Implementations§
impl Freeze for LaunchArguments
impl RefUnwindSafe for LaunchArguments
impl Send for LaunchArguments
impl Sync for LaunchArguments
impl Unpin for LaunchArguments
impl UnwindSafe for LaunchArguments
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