pub struct AssignmentStmt {
pub name: String,
pub value: Expression,
pub span: Span,
}Expand description
Assignment statement: x = expr
Fields§
§name: String§value: Expression§span: SpanTrait Implementations§
Source§impl Clone for AssignmentStmt
impl Clone for AssignmentStmt
Source§fn clone(&self) -> AssignmentStmt
fn clone(&self) -> AssignmentStmt
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 AssignmentStmt
impl Debug for AssignmentStmt
Source§impl PartialEq for AssignmentStmt
impl PartialEq for AssignmentStmt
impl StructuralPartialEq for AssignmentStmt
Auto Trait Implementations§
impl Freeze for AssignmentStmt
impl RefUnwindSafe for AssignmentStmt
impl Send for AssignmentStmt
impl Sync for AssignmentStmt
impl Unpin for AssignmentStmt
impl UnwindSafe for AssignmentStmt
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