pub enum Stmt {
Show 13 variants
Skip(Info),
Wire(Identifier, Type, Info),
Reg(Identifier, Type, Expr, Info),
RegReset(Identifier, Type, Expr, Expr, Expr, Info),
ChirrtlMemory(ChirrtlMemory),
ChirrtlMemoryPort(ChirrtlMemoryPort),
Inst(Identifier, Identifier, Info),
Node(Identifier, Expr, Info),
Connect(Expr, Expr, Info),
Invalidate(Expr, Info),
When(Expr, Info, Stmts, Option<Stmts>),
Printf(Expr, Expr, String, Option<Exprs>, Info),
Assert(Expr, Expr, Expr, String, Info),
}Variants§
Skip(Info)
Wire(Identifier, Type, Info)
Reg(Identifier, Type, Expr, Info)
RegReset(Identifier, Type, Expr, Expr, Expr, Info)
ChirrtlMemory(ChirrtlMemory)
ChirrtlMemoryPort(ChirrtlMemoryPort)
Inst(Identifier, Identifier, Info)
Node(Identifier, Expr, Info)
Connect(Expr, Expr, Info)
Invalidate(Expr, Info)
When(Expr, Info, Stmts, Option<Stmts>)
Printf(Expr, Expr, String, Option<Exprs>, Info)
Assert(Expr, Expr, Expr, String, Info)
Implementations§
Trait Implementations§
Source§impl Ord for Stmt
impl Ord for Stmt
Source§impl PartialOrd for Stmt
impl PartialOrd for Stmt
impl Eq for Stmt
impl StructuralPartialEq for Stmt
Auto Trait Implementations§
impl Freeze for Stmt
impl RefUnwindSafe for Stmt
impl Send for Stmt
impl Sync for Stmt
impl Unpin for Stmt
impl UnwindSafe for Stmt
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