pub struct GameSpecToml<'a> {
pub id: &'a str,
pub display_name: &'a str,
pub steam_app_id: Option<&'a str>,
pub install_dir_name: Option<&'a str>,
pub install_path_override: Option<&'a Path>,
pub executable_dir: &'a Path,
pub mod_dir: Option<&'a Path>,
pub nexus_domain: Option<&'a str>,
pub proxy_dlls: Vec<&'a str>,
}Expand description
Borrowing serialization view of a GameSpec for writing TOML.
Fields§
§id: &'a str§display_name: &'a str§steam_app_id: Option<&'a str>§install_dir_name: Option<&'a str>§install_path_override: Option<&'a Path>§executable_dir: &'a Path§mod_dir: Option<&'a Path>§nexus_domain: Option<&'a str>§proxy_dlls: Vec<&'a str>Trait Implementations§
Source§impl<'a> Clone for GameSpecToml<'a>
impl<'a> Clone for GameSpecToml<'a>
Source§fn clone(&self) -> GameSpecToml<'a>
fn clone(&self) -> GameSpecToml<'a>
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<'a> Debug for GameSpecToml<'a>
impl<'a> Debug for GameSpecToml<'a>
Auto Trait Implementations§
impl<'a> Freeze for GameSpecToml<'a>
impl<'a> RefUnwindSafe for GameSpecToml<'a>
impl<'a> Send for GameSpecToml<'a>
impl<'a> Sync for GameSpecToml<'a>
impl<'a> Unpin for GameSpecToml<'a>
impl<'a> UnsafeUnpin for GameSpecToml<'a>
impl<'a> UnwindSafe for GameSpecToml<'a>
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