pub struct ConfigOptions {
pub cwd: Option<PathBuf>,
pub root: Option<PathBuf>,
pub environment: EnvironmentInput,
pub config: Option<PathBuf>,
}Expand description
Options for inspecting a treeboot config.
Fields§
§cwd: Option<PathBuf>Directory from which config discovery starts.
root: Option<PathBuf>Overrides the root checkout used for resolved source paths.
environment: EnvironmentInputExplicit environment input used for compatibility discovery.
config: Option<PathBuf>Uses one specific config file instead of discovery.
Trait Implementations§
Source§impl Clone for ConfigOptions
impl Clone for ConfigOptions
Source§fn clone(&self) -> ConfigOptions
fn clone(&self) -> ConfigOptions
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 ConfigOptions
impl Debug for ConfigOptions
Source§impl Default for ConfigOptions
impl Default for ConfigOptions
Source§fn default() -> ConfigOptions
fn default() -> ConfigOptions
Returns the “default value” for a type. Read more
impl Eq for ConfigOptions
Source§impl PartialEq for ConfigOptions
impl PartialEq for ConfigOptions
Source§fn eq(&self, other: &ConfigOptions) -> bool
fn eq(&self, other: &ConfigOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigOptions
Auto Trait Implementations§
impl Freeze for ConfigOptions
impl RefUnwindSafe for ConfigOptions
impl Send for ConfigOptions
impl Sync for ConfigOptions
impl Unpin for ConfigOptions
impl UnsafeUnpin for ConfigOptions
impl UnwindSafe for ConfigOptions
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