pub struct LetExpr {
pub pattern: Pattern,
pub type_annotation: Option<TypeAnnotation>,
pub value: Option<Box<Expr>>,
pub body: Box<Expr>,
}Expand description
Let binding expression
Fields§
§pattern: Pattern§type_annotation: Option<TypeAnnotation>§value: Option<Box<Expr>>§body: Box<Expr>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LetExpr
impl<'de> Deserialize<'de> for LetExpr
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 LetExpr
Auto Trait Implementations§
impl Freeze for LetExpr
impl RefUnwindSafe for LetExpr
impl Send for LetExpr
impl Sync for LetExpr
impl Unpin for LetExpr
impl UnsafeUnpin for LetExpr
impl UnwindSafe for LetExpr
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