pub struct EnvStep {
pub entry: EnvEntry,
pub origin: Origin,
pub applied: bool,
pub replaced_by: Option<Origin>,
pub removes: Option<Origin>,
}Expand description
What one env entry of a Resolution does in a process.
Fields§
§entry: EnvEntryThe entry: the variable and the value it sets, or none to remove it.
origin: OriginThe rule that set it.
applied: boolFalse for a default whose variable the process already had, which it leaves alone.
replaced_by: Option<Origin>The origin of a later entry for the same variable that applies, which replaces what this one did: the variable ends up with that entry’s value.
removes: Option<Origin>For an entry that removes the variable, the origin of the earlier entry for it that applied and set a value, which the removal undoes.
Trait Implementations§
impl Eq for EnvStep
impl StructuralPartialEq for EnvStep
Auto Trait Implementations§
impl Freeze for EnvStep
impl RefUnwindSafe for EnvStep
impl Send for EnvStep
impl Sync for EnvStep
impl Unpin for EnvStep
impl UnsafeUnpin for EnvStep
impl UnwindSafe for EnvStep
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