pub struct Lambda {
pub params: Vec<Param>,
pub return_type: TypeExpr,
pub effects: Vec<Effect>,
pub effect_row_var: Option<String>,
pub body: Block,
}Fields§
§params: Vec<Param>§return_type: TypeExpr§effects: Vec<Effect>§effect_row_var: Option<String>Open-row tail variable on the lambda’s declared effects. See
FnDecl::effect_row_var. Serialized only when present.
body: BlockTrait Implementations§
Source§impl<'de> Deserialize<'de> for Lambda
impl<'de> Deserialize<'de> for Lambda
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Lambda
Auto Trait Implementations§
impl Freeze for Lambda
impl RefUnwindSafe for Lambda
impl Send for Lambda
impl Sync for Lambda
impl Unpin for Lambda
impl UnsafeUnpin for Lambda
impl UnwindSafe for Lambda
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