pub struct NixLetBinding {
pub name: String,
pub value: NixExpr,
}Expand description
A single binding inside a let expression: name = expr;
Fields§
§name: StringBound name
value: NixExprBound expression
Implementations§
Trait Implementations§
Source§impl Clone for NixLetBinding
impl Clone for NixLetBinding
Source§fn clone(&self) -> NixLetBinding
fn clone(&self) -> NixLetBinding
Returns a duplicate of the value. Read more
1.0.0 · 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 NixLetBinding
impl Debug for NixLetBinding
Source§impl PartialEq for NixLetBinding
impl PartialEq for NixLetBinding
impl StructuralPartialEq for NixLetBinding
Auto Trait Implementations§
impl Freeze for NixLetBinding
impl RefUnwindSafe for NixLetBinding
impl Send for NixLetBinding
impl Sync for NixLetBinding
impl Unpin for NixLetBinding
impl UnsafeUnpin for NixLetBinding
impl UnwindSafe for NixLetBinding
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