pub struct TreeNode {
pub parent: Option<Nid>,
pub kind: Kind,
pub children: Vec<Nid>,
pub history_children: Vec<Nid>,
pub on: Vec<(String, Vec<Tid>)>,
pub always: Vec<Tid>,
/* private fields */
}Fields§
§parent: Option<Nid>§kind: Kind§children: Vec<Nid>Child states except history states, in states order.
history_children: Vec<Nid>History states declared in states, in order.
on: Vec<(String, Vec<Tid>)>The node’s transition map in insertion order: descriptor and the transitions registered under it.
always: Vec<Tid>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for TreeNode
impl Freeze for TreeNode
impl Move for TreeNode
impl RefUnwindSafe for TreeNode
impl Send for TreeNodewhere
RawVecInner: Send,
impl Sync for TreeNodewhere
RawVecInner: Sync,
impl Unpin for TreeNode
impl UnsafeUnpin for TreeNodewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<(String, Vec<u32>)>: UnsafeUnpin,
impl UnwindSafe for TreeNodewhere
RawVecInner: UnwindSafe,
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