pub enum Binding {
Leaf(Expr),
Group(GroupPlan),
Inherit {
from: Option<Expr>,
},
}Expand description
A binding after normalization.
Variants§
Leaf(Expr)
A value that is NOT a syntactic attrset literal, so it can never merge.
Group(GroupPlan)
A syntactic attrset literal, or an implicit one created by a dotted path. Mergeable — and merging splices into THIS node.
Inherit
inherit x / inherit (e) x. Never mergeable in either direction, so
it is its own arm rather than a Leaf: an inherited binding colliding
with anything is a reject, in both orders.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Binding
impl !Send for Binding
impl !Sync for Binding
impl !UnwindSafe for Binding
impl Freeze for Binding
impl Unpin for Binding
impl UnsafeUnpin for Binding
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