pub struct StateDecl {
pub name: String,
pub port_type: PortType,
pub init_value: Expr,
pub span: Option<Span>,
}Expand description
State declaration: state counter: int = 0;
Fields§
§name: String§port_type: PortType§init_value: Expr§span: Option<Span>Trait Implementations§
impl StructuralPartialEq for StateDecl
Auto Trait Implementations§
impl Freeze for StateDecl
impl RefUnwindSafe for StateDecl
impl Send for StateDecl
impl Sync for StateDecl
impl Unpin for StateDecl
impl UnsafeUnpin for StateDecl
impl UnwindSafe for StateDecl
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