pub struct VariableDeclaration {
pub kind: Option<VariableDeclarationKind>,
pub name: Literal,
pub children: Option<Box<Expression>>,
}Expand description
Variable declaration data
Fields§
§kind: Option<VariableDeclarationKind>Kind
name: LiteralName
children: Option<Box<Expression>>Initializer (aka value)
Trait Implementations§
Source§impl Debug for VariableDeclaration
impl Debug for VariableDeclaration
Source§impl PartialEq for VariableDeclaration
impl PartialEq for VariableDeclaration
impl StructuralPartialEq for VariableDeclaration
Auto Trait Implementations§
impl Freeze for VariableDeclaration
impl RefUnwindSafe for VariableDeclaration
impl Send for VariableDeclaration
impl Sync for VariableDeclaration
impl Unpin for VariableDeclaration
impl UnwindSafe for VariableDeclaration
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