pub struct VariableDeclarationStatement {
pub declaration: VariableDeclaration,
pub initial_value: Option<Expression>,
}
Fields§
§declaration: VariableDeclaration
§initial_value: Option<Expression>
Trait Implementations§
Source§impl Clone for VariableDeclarationStatement
impl Clone for VariableDeclarationStatement
Source§fn clone(&self) -> VariableDeclarationStatement
fn clone(&self) -> VariableDeclarationStatement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VariableDeclarationStatement
impl Debug for VariableDeclarationStatement
Source§impl PartialEq for VariableDeclarationStatement
impl PartialEq for VariableDeclarationStatement
Source§fn eq(&self, other: &VariableDeclarationStatement) -> bool
fn eq(&self, other: &VariableDeclarationStatement) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for VariableDeclarationStatement
Auto Trait Implementations§
impl Freeze for VariableDeclarationStatement
impl RefUnwindSafe for VariableDeclarationStatement
impl Send for VariableDeclarationStatement
impl Sync for VariableDeclarationStatement
impl Unpin for VariableDeclarationStatement
impl UnwindSafe for VariableDeclarationStatement
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