pub struct LoadedConfig {
pub context: Worktree,
pub path: PathBuf,
pub config: Config,
}Expand description
Loaded treeboot config selected for a worktree.
Fields§
§context: WorktreeRuntime context used while resolving config paths.
path: PathBufConfig file path.
config: ConfigParsed and normalized config.
Trait Implementations§
Source§impl Clone for LoadedConfig
impl Clone for LoadedConfig
Source§fn clone(&self) -> LoadedConfig
fn clone(&self) -> LoadedConfig
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 Debug for LoadedConfig
impl Debug for LoadedConfig
impl Eq for LoadedConfig
Source§impl PartialEq for LoadedConfig
impl PartialEq for LoadedConfig
Source§fn eq(&self, other: &LoadedConfig) -> bool
fn eq(&self, other: &LoadedConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoadedConfig
Auto Trait Implementations§
impl Freeze 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