pub struct LetStatement {
pub name: String,
pub value: Expression,
}
Expand description
A statement that binds an expression to an identifier.
Fields§
§name: String
§value: 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 Display for LetStatement
impl Display for LetStatement
Source§impl Hash for LetStatement
impl Hash for LetStatement
Source§impl PartialEq for LetStatement
impl PartialEq for LetStatement
impl Eq for LetStatement
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