pub struct MachineStateDecl {
pub name: String,
pub params: Vec<Param>,
pub terminal: bool,
pub guard: Option<Expr>,
pub transition_to: Option<String>,
pub transition_args: Vec<Expr>,
pub span: Span,
}Fields§
§name: String§params: Vec<Param>§terminal: bool§guard: Option<Expr>§transition_to: Option<String>§transition_args: Vec<Expr>§span: SpanTrait Implementations§
Source§impl Clone for MachineStateDecl
impl Clone for MachineStateDecl
Source§fn clone(&self) -> MachineStateDecl
fn clone(&self) -> MachineStateDecl
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 MachineStateDecl
impl Debug for MachineStateDecl
Source§impl<'de> Deserialize<'de> for MachineStateDecl
impl<'de> Deserialize<'de> for MachineStateDecl
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
Auto Trait Implementations§
impl Freeze for MachineStateDecl
impl RefUnwindSafe for MachineStateDecl
impl Send for MachineStateDecl
impl Sync for MachineStateDecl
impl Unpin for MachineStateDecl
impl UnwindSafe for MachineStateDecl
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