pub struct Workspace {
pub id: String,
pub name: String,
pub game_path: String,
pub game_data_path: String,
pub mod_list: ModList,
pub mod_load_order: ModLoadOrder,
}Expand description
Workspace is a main unit of the application. Before you can work with mods, you need to create a workspace.
Fields§
§id: StringUnique identifier of the workspace.
name: StringName of the workspace.
game_path: StringPath to the game directory. (Steam/steamapps/common/Crusader Kings III).
game_data_path: StringPath to the game data directory (documents/Paradox Interactive/Crusader Kings III).
mod_list: ModListAll mods available in the workspace.
mod_load_order: ModLoadOrderLoad order of the mods.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Workspace
impl RefUnwindSafe for Workspace
impl Send for Workspace
impl Sync for Workspace
impl Unpin for Workspace
impl UnwindSafe for Workspace
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