pub struct Initial {
pub id: Option<String>,
pub transition: Transition,
}Expand description
Represents an <initial> element within a compound state.
Fields§
§id: Option<String>Optional ID for the initial pseudo-state.
transition: TransitionThe transition to the initial substate.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Initial
impl RefUnwindSafe for Initial
impl Send for Initial
impl Sync for Initial
impl Unpin for Initial
impl UnsafeUnpin for Initial
impl UnwindSafe for Initial
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