pub struct SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree> { /* private fields */ }Expand description
The generated value tree for a sequential state machine.
Trait Implementations§
Source§impl<State: Clone + Debug, Transition: Clone + Debug, StateValueTree: ValueTree<Value = State>, TransitionValueTree: ValueTree<Value = Transition>> ValueTree for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>
impl<State: Clone + Debug, Transition: Clone + Debug, StateValueTree: ValueTree<Value = State>, TransitionValueTree: ValueTree<Value = Transition>> ValueTree for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>
Source§type Value = (State, Vec<Transition>, Option<Arc<Atomic<usize>>>)
type Value = (State, Vec<Transition>, Option<Arc<Atomic<usize>>>)
The type of the value produced by this
ValueTree.Source§fn simplify(&mut self) -> bool
fn simplify(&mut self) -> bool
Attempts to simplify the current value. Notionally, this sets the
“high” value to the current value, and the current value to a “halfway
point” between high and low, rounding towards low. Read more
Source§fn complicate(&mut self) -> bool
fn complicate(&mut self) -> bool
Attempts to partially undo the last simplification. Notionally, this
sets the “low” value to one plus the current value, and the current
value to a “halfway point” between high and the new low, rounding
towards low. Read more
Auto Trait Implementations§
impl<State, Transition, StateValueTree, TransitionValueTree> Freeze for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>
impl<State, Transition, StateValueTree, TransitionValueTree> !RefUnwindSafe for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>
impl<State, Transition, StateValueTree, TransitionValueTree> !Send for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>
impl<State, Transition, StateValueTree, TransitionValueTree> !Sync for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>
impl<State, Transition, StateValueTree, TransitionValueTree> Unpin for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>
impl<State, Transition, StateValueTree, TransitionValueTree> UnsafeUnpin for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>where
StateValueTree: UnsafeUnpin,
State: UnsafeUnpin,
impl<State, Transition, StateValueTree, TransitionValueTree> !UnwindSafe for SequentialValueTree<State, Transition, StateValueTree, TransitionValueTree>
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