Struct docs::ast::LetStatement
source · pub struct LetStatement {
pub token: Token,
pub identifier: Identifier,
pub value: Option<Expression>,
}Fields§
§token: Token§identifier: Identifier§value: Option<Expression>Trait Implementations§
source§impl Clone for LetStatement
impl Clone for LetStatement
source§fn clone(&self) -> LetStatement
fn clone(&self) -> LetStatement
Returns a copy 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 LetStatement
impl Debug for LetStatement
source§impl Nodetrait for LetStatement
impl Nodetrait for LetStatement
source§impl PartialEq for LetStatement
impl PartialEq for LetStatement
source§fn eq(&self, other: &LetStatement) -> bool
fn eq(&self, other: &LetStatement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LetStatement
Auto Trait Implementations§
impl Freeze for LetStatement
impl RefUnwindSafe for LetStatement
impl Send for LetStatement
impl Sync for LetStatement
impl Unpin for LetStatement
impl UnwindSafe for LetStatement
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