pub struct GroupPlan {
pub recursive: bool,
pub statics: Vec<StaticBinding>,
pub dynamics: Vec<DynamicBinding>,
}Expand description
The normalized plan for one binding group — an attrset, a let, a rec,
or a legacy let { … }.
Fields§
§recursive: boolEffective recursiveness. The FIRST definition’s, never an OR of the
two — a later rec is discarded, which is what makes
{ a = {b=1;}; a = rec {c=2; d=c;}; } a parse error in nix.
statics: Vec<StaticBinding>Static bindings after the splice, in nix’s insertion order.
dynamics: Vec<DynamicBinding>Dynamic-keyed bindings. Collisions among these — and against
statics — are an EVAL-time error, and only when forced.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GroupPlan
impl !Send for GroupPlan
impl !Sync for GroupPlan
impl !UnwindSafe for GroupPlan
impl Freeze for GroupPlan
impl Unpin for GroupPlan
impl UnsafeUnpin for GroupPlan
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