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