pub struct DevEnv {
pub layer: Layer,
pub shell_hook: Option<String>,
pub bash: Option<String>,
}Expand description
A dev environment as nix print-dev-env --json describes it.
Fields§
§layer: Layer§shell_hook: Option<String>§bash: Option<String>The bash the environment was made with (runs the hook).
Implementations§
Trait Implementations§
impl Eq for DevEnv
impl StructuralPartialEq for DevEnv
Auto Trait Implementations§
impl Forget for DevEnv
impl Freeze for DevEnvwhere
*const u8 is !null: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<(String, String)>: Freeze,
PhantomData<u8>: Freeze,
impl Move for DevEnv
impl RefUnwindSafe for DevEnv
impl Send for DevEnvwhere
RawVecInner: Send,
impl Sync for DevEnvwhere
RawVecInner: Sync,
impl Unpin for DevEnv
impl UnsafeUnpin for DevEnvwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for DevEnvwhere
RawVecInner: UnwindSafe,
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.