pub struct StateAssignment {
pub name: String,
pub value: Expr,
pub span: Option<Span>,
}Expand description
State assignment: state counter = next;
Fields§
§name: String§value: Expr§span: Option<Span>Trait Implementations§
Source§impl Clone for StateAssignment
impl Clone for StateAssignment
Source§fn clone(&self) -> StateAssignment
fn clone(&self) -> StateAssignment
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 StateAssignment
impl Debug for StateAssignment
Source§impl PartialEq for StateAssignment
impl PartialEq for StateAssignment
impl StructuralPartialEq for StateAssignment
Auto Trait Implementations§
impl Freeze for StateAssignment
impl RefUnwindSafe for StateAssignment
impl Send for StateAssignment
impl Sync for StateAssignment
impl Unpin for StateAssignment
impl UnsafeUnpin for StateAssignment
impl UnwindSafe for StateAssignment
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