pub struct VariableDeclNode {
pub target: NodeId,
pub initializer: Option<NodeId>,
pub span: SourceSpan,
}Expand description
Variable declaration: var ( IDENTIFIER | destructurePattern ) ( = expression )? ;
Fields§
§target: NodeId§initializer: Option<NodeId>§span: SourceSpanTrait Implementations§
Source§impl Clone for VariableDeclNode
impl Clone for VariableDeclNode
impl Copy for VariableDeclNode
Source§impl Debug for VariableDeclNode
impl Debug for VariableDeclNode
Source§impl PartialEq for VariableDeclNode
impl PartialEq for VariableDeclNode
impl StructuralPartialEq for VariableDeclNode
Auto Trait Implementations§
impl Freeze for VariableDeclNode
impl RefUnwindSafe for VariableDeclNode
impl Send for VariableDeclNode
impl Sync for VariableDeclNode
impl Unpin for VariableDeclNode
impl UnsafeUnpin for VariableDeclNode
impl UnwindSafe for VariableDeclNode
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