pub struct LoadedConfig {
pub path: PathBuf,
pub base_dir: PathBuf,
pub file: ConfigFile,
}Expand description
A configuration file loaded from disk together with its path and base directory.
Fields§
§path: PathBuf§base_dir: PathBuf§file: ConfigFileImplementations§
Source§impl LoadedConfig
impl LoadedConfig
Sourcepub fn resolve(&self, package: Option<&str>, cli: &Settings) -> Result<Settings>
pub fn resolve(&self, package: Option<&str>, cli: &Settings) -> Result<Settings>
Resolves settings for a single package (or top-level defaults when package is None)
layered with CLI overrides, returning the validated effective settings.
Sourcepub fn resolve_workspace_base(&self, cli: &Settings) -> Result<Settings>
pub fn resolve_workspace_base(&self, cli: &Settings) -> Result<Settings>
Resolves top-level settings layered with CLI overrides for workspace batch setup,
deferring cross-field prerequisite checks (such as copy_fixture_exclude or
wrapper_grace) until each workspace member’s [package.<name>] layer is applied.
Trait Implementations§
Source§impl Clone for LoadedConfig
impl Clone for LoadedConfig
Source§impl Debug for LoadedConfig
impl Debug for LoadedConfig
impl Eq for LoadedConfig
Source§impl PartialEq for LoadedConfig
impl PartialEq for LoadedConfig
impl StructuralPartialEq for LoadedConfig
Auto Trait Implementations§
impl Forget for LoadedConfig
impl Freeze for LoadedConfig
impl Move for LoadedConfig
impl RefUnwindSafe for LoadedConfig
impl Send for LoadedConfig
impl Sync for LoadedConfig
impl Unpin for LoadedConfig
impl UnsafeUnpin for LoadedConfig
impl UnwindSafe for LoadedConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.