pub struct AstStateMachineDecl {
pub name: String,
pub states: Vec<AstStateDecl>,
pub initial_state: String,
pub transitions: Vec<AstTransitionDecl>,
pub verify_declarations: Vec<AstVerifyDecl>,
pub annotations: Vec<AstAnnotation>,
pub exported: bool,
pub span: Option<Span>,
}Fields§
§name: String§states: Vec<AstStateDecl>§initial_state: String§transitions: Vec<AstTransitionDecl>§verify_declarations: Vec<AstVerifyDecl>§annotations: Vec<AstAnnotation>§exported: bool§span: Option<Span>Trait Implementations§
Source§impl Clone for AstStateMachineDecl
impl Clone for AstStateMachineDecl
Source§fn clone(&self) -> AstStateMachineDecl
fn clone(&self) -> AstStateMachineDecl
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 AstStateMachineDecl
impl Debug for AstStateMachineDecl
Source§impl PartialEq for AstStateMachineDecl
impl PartialEq for AstStateMachineDecl
impl StructuralPartialEq for AstStateMachineDecl
Auto Trait Implementations§
impl Freeze for AstStateMachineDecl
impl RefUnwindSafe for AstStateMachineDecl
impl Send for AstStateMachineDecl
impl Sync for AstStateMachineDecl
impl Unpin for AstStateMachineDecl
impl UnsafeUnpin for AstStateMachineDecl
impl UnwindSafe for AstStateMachineDecl
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