pub struct UmuCommandBuilder { /* private fields */ }Implementations§
Source§impl UmuCommandBuilder
impl UmuCommandBuilder
pub fn new<T: Into<PathBuf>, D: Into<String>>(source: T, program: D) -> Self
pub fn build(self) -> UmuCommand
pub fn game_id(self, game_id: String) -> Self
pub fn proton<T: Into<PathBuf>>(self, proton_executable: T) -> Self
pub fn store(self, store: String) -> Self
pub fn wineprefix(self, wineprefix: PathBuf) -> Self
pub fn launch_args(self, launch_args: Vec<String>) -> Self
Trait Implementations§
Source§impl Clone for UmuCommandBuilder
impl Clone for UmuCommandBuilder
Source§fn clone(&self) -> UmuCommandBuilder
fn clone(&self) -> UmuCommandBuilder
Returns a duplicate of the value. Read more
1.0.0 · 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 UmuCommandBuilder
impl Debug for UmuCommandBuilder
Source§impl Default for UmuCommandBuilder
impl Default for UmuCommandBuilder
Source§fn default() -> UmuCommandBuilder
fn default() -> UmuCommandBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UmuCommandBuilder
impl RefUnwindSafe for UmuCommandBuilder
impl Send for UmuCommandBuilder
impl Sync for UmuCommandBuilder
impl Unpin for UmuCommandBuilder
impl UnwindSafe for UmuCommandBuilder
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