pub struct StateMachineDecl {
pub name: String,
pub initial_state: String,
pub states: Vec<StateBlock>,
pub transitions: Vec<StateTransition>,
pub span: Span,
}Expand description
Hardware State Machine declaration: state_machine RoverState { ... }
Fields§
§name: String§initial_state: String§states: Vec<StateBlock>§transitions: Vec<StateTransition>§span: SpanTrait Implementations§
Source§impl Clone for StateMachineDecl
impl Clone for StateMachineDecl
Source§impl Debug for StateMachineDecl
impl Debug for StateMachineDecl
Source§impl<'de> Deserialize<'de> for StateMachineDecl
impl<'de> Deserialize<'de> for StateMachineDecl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StateMachineDecl
impl PartialEq for StateMachineDecl
Source§impl Serialize for StateMachineDecl
impl Serialize for StateMachineDecl
impl StructuralPartialEq for StateMachineDecl
Auto Trait Implementations§
impl Freeze for StateMachineDecl
impl RefUnwindSafe for StateMachineDecl
impl Send for StateMachineDecl
impl Sync for StateMachineDecl
impl Unpin for StateMachineDecl
impl UnsafeUnpin for StateMachineDecl
impl UnwindSafe for StateMachineDecl
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