pub struct DataPaths {
pub data_dir: PathBuf,
pub config_dir: PathBuf,
pub user_home_dir: PathBuf,
pub portable_root: Option<PathBuf>,
pub common: DataPaths,
}Expand description
Resolved per-instance paths. Compat shape — see module doc.
Fields§
§data_dir: PathBuf§config_dir: PathBuf§user_home_dir: PathBuf§portable_root: Option<PathBuf>§common: DataPathsFull common-paths value — exposes the new fields
(cef_cache_dir, agents_dir, instance_runtime_dir,
logs_dir, instance_dir, mode) for the launcher’s
env-var passing in main.rs without re-resolving.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DataPaths
impl RefUnwindSafe for DataPaths
impl Send for DataPaths
impl Sync for DataPaths
impl Unpin for DataPaths
impl UnwindSafe for DataPaths
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