pub struct DhallFunction {
pub label: String,
pub annotation: DhallType,
pub body: Box<DhallExpr>,
}Expand description
A Dhall function (lambda): \(label : annotation) -> body
Fields§
§label: StringParameter label
annotation: DhallTypeParameter type annotation
body: Box<DhallExpr>Function body
Implementations§
Trait Implementations§
Source§impl Clone for DhallFunction
impl Clone for DhallFunction
Source§fn clone(&self) -> DhallFunction
fn clone(&self) -> DhallFunction
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 DhallFunction
impl Debug for DhallFunction
Source§impl PartialEq for DhallFunction
impl PartialEq for DhallFunction
impl StructuralPartialEq for DhallFunction
Auto Trait Implementations§
impl Freeze for DhallFunction
impl RefUnwindSafe for DhallFunction
impl Send for DhallFunction
impl Sync for DhallFunction
impl Unpin for DhallFunction
impl UnsafeUnpin for DhallFunction
impl UnwindSafe for DhallFunction
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