pub struct AssignStmt {
pub is_then: bool,
pub lhs: String,
pub rhs: String,
}Expand description
Assignment statement (SysML v2 AssignmentNode/AssignmentActionUsage).
Examples:
assign x := y;then assign position := dynamics.x_out;
Fields§
§is_then: bool§lhs: String§rhs: StringTrait Implementations§
Source§impl Clone for AssignStmt
impl Clone for AssignStmt
Source§fn clone(&self) -> AssignStmt
fn clone(&self) -> AssignStmt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AssignStmt
impl Debug for AssignStmt
impl Eq for AssignStmt
Source§impl PartialEq for AssignStmt
impl PartialEq for AssignStmt
Source§fn eq(&self, other: &AssignStmt) -> bool
fn eq(&self, other: &AssignStmt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssignStmt
Auto Trait Implementations§
impl Freeze for AssignStmt
impl RefUnwindSafe for AssignStmt
impl Send for AssignStmt
impl Sync for AssignStmt
impl Unpin for AssignStmt
impl UnsafeUnpin for AssignStmt
impl UnwindSafe for AssignStmt
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