Struct liva_parser::statement::declaration::assignment::LAssignment [−][src]
pub struct LAssignment<'a> {
pub variable: Variable<'a>,
pub expression: Expression<'a>,
}
Expand description
A assignment is a statement, while a re-assignemnt is an epression so we only parse a statement here, therefore is the let mandatory
Fields
variable: Variable<'a>
expression: Expression<'a>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for LAssignment<'a>
impl<'a> Send for LAssignment<'a>
impl<'a> Sync for LAssignment<'a>
impl<'a> Unpin for LAssignment<'a>
impl<'a> UnwindSafe for LAssignment<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more