Expand description
The identifier and optional value of a variable declaration
Fields
id: Pat<'a>
init: Option<Expr<'a>>
Trait Implementations
sourceimpl<'a> PartialEq<VarDecl<'a>> for VarDecl<'a>
impl<'a> PartialEq<VarDecl<'a>> for VarDecl<'a>
impl<'a> StructuralPartialEq for VarDecl<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for VarDecl<'a>
impl<'a> Send for VarDecl<'a>
impl<'a> Sync for VarDecl<'a>
impl<'a> Unpin for VarDecl<'a>
impl<'a> UnwindSafe for VarDecl<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more