pub struct TransitionGraph {
pub span: Span,
pub field: Ident,
pub edges: Vec<TransitionEdge>,
pub terminal: Vec<Ident>,
}Expand description
A transition graph block: transitions field_name { edges..., terminal: states }.
Fields§
§span: Span§field: Ident§edges: Vec<TransitionEdge>§terminal: Vec<Ident>Trait Implementations§
Source§impl Clone for TransitionGraph
impl Clone for TransitionGraph
Source§fn clone(&self) -> TransitionGraph
fn clone(&self) -> TransitionGraph
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 TransitionGraph
impl Debug for TransitionGraph
Auto Trait Implementations§
impl Freeze for TransitionGraph
impl RefUnwindSafe for TransitionGraph
impl Send for TransitionGraph
impl Sync for TransitionGraph
impl Unpin for TransitionGraph
impl UnsafeUnpin for TransitionGraph
impl UnwindSafe for TransitionGraph
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