pub struct FSMState {
pub assignments: Vec<Wire>,
pub transition: Transition,
}Expand description
A single state in an FSM.
A FSMRule consists of the set of assignments that are active in a given state and the
transitions from this state to other states. The assignments are a list of wires, like a
group definition.
Fields§
§assignments: Vec<Wire>§transition: TransitionTrait Implementations§
Auto Trait Implementations§
impl Freeze for FSMState
impl RefUnwindSafe for FSMState
impl Send for FSMState
impl Sync for FSMState
impl Unpin for FSMState
impl UnwindSafe for FSMState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more