pub(crate) struct Transition {
pub current_state: Path,
pub next_state: Path,
pub message_type: Path,
}
Expand description
A structure to parse transition tuples from read
and write
macros.
Fields§
§current_state: Path
Path
to the current state type of the transition.
next_state: Path
Path
to the destination state type of the transition.
message_type: Path
Path
to the message type this transition is based on.
Trait Implementations§
Source§impl Parse for Transition
impl Parse for Transition
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for Transition
impl RefUnwindSafe for Transition
impl !Send for Transition
impl !Sync for Transition
impl Unpin for Transition
impl UnwindSafe for Transition
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