pub struct LetDecl {
pub pattern: Pattern,
pub mutable: bool,
pub type_ann: Option<Box<Expr>>,
pub init: Option<Box<Expr>>,
pub span: Span,
}Fields§
§pattern: Pattern§mutable: bool§type_ann: Option<Box<Expr>>§init: Option<Box<Expr>>§span: SpanTrait Implementations§
Auto Trait Implementations§
impl Freeze for LetDecl
impl RefUnwindSafe for LetDecl
impl Send for LetDecl
impl Sync for LetDecl
impl Unpin for LetDecl
impl UnsafeUnpin for LetDecl
impl UnwindSafe for LetDecl
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