pub enum AssignmentKind {
Init,
Next,
}Expand description
Whether a state assignment is the initial assignment or the state update.
Variants§
Init
The assignment assigns an initial state value.
Next
The assignment assigns the next state value.
Trait Implementations§
Source§impl Clone for AssignmentKind
impl Clone for AssignmentKind
Source§fn clone(&self) -> AssignmentKind
fn clone(&self) -> AssignmentKind
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 AssignmentKind
impl Debug for AssignmentKind
Source§impl Hash for AssignmentKind
impl Hash for AssignmentKind
Source§impl Ord for AssignmentKind
impl Ord for AssignmentKind
Source§fn cmp(&self, other: &AssignmentKind) -> Ordering
fn cmp(&self, other: &AssignmentKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AssignmentKind
impl PartialEq for AssignmentKind
Source§fn eq(&self, other: &AssignmentKind) -> bool
fn eq(&self, other: &AssignmentKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AssignmentKind
impl PartialOrd for AssignmentKind
impl Copy for AssignmentKind
impl Eq for AssignmentKind
impl StructuralPartialEq for AssignmentKind
Auto Trait Implementations§
impl Freeze for AssignmentKind
impl RefUnwindSafe for AssignmentKind
impl Send for AssignmentKind
impl Sync for AssignmentKind
impl Unpin for AssignmentKind
impl UnsafeUnpin for AssignmentKind
impl UnwindSafe for AssignmentKind
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