Enum hoodlum::ast::Decl
[−]
pub enum Decl { Reg(Ident, Option<Expr>), RegArray(Ident, Expr, Option<Expr>), Let(Ident, Ident, Vec<(Ident, Ident)>), On(EdgeRef, SeqBlock), Always(CombBlock), }
Variants
Reg(Ident, Option<Expr>)
RegArray(Ident, Expr, Option<Expr>)
Let(Ident, Ident, Vec<(Ident, Ident)>)
On(EdgeRef, SeqBlock)
Always(CombBlock)
Trait Implementations
impl Clone for Decl
fn clone(&self) -> Decl
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Decl
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.