pub struct VarDecl {
pub kind: VarDeclKind,
pub declarators: Vec<Declarator>,
pub span: Span,
}Expand description
A declaration statement, with all of its declarators.
Fields§
§kind: VarDeclKindvar, let or const.
declarators: Vec<Declarator>Declarators in source order.
span: SpanSource range.
Trait Implementations§
impl StructuralPartialEq for VarDecl
Auto Trait Implementations§
impl Forget for VarDecl
impl Freeze for VarDecl
impl Move for VarDecl
impl RefUnwindSafe for VarDecl
impl Send for VarDecl
impl Sync for VarDecl
impl Unpin for VarDecl
impl UnsafeUnpin for VarDecl
impl UnwindSafe for VarDecl
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