Enum hoodlum_parser::ast::Decl
[−]
[src]
pub enum Decl { Latch(Ident, Vec<Expr>), Reg(Ident, Vec<Expr>, Option<Expr>), Let(Ident, Ident, Vec<(Ident, Expr)>), Const(Ident, Expr), On(EdgeRef, SeqBlock), Always(SeqBlock), }
Variants
Latch(Ident, Vec<Expr>)
Reg(Ident, Vec<Expr>, Option<Expr>)
Let(Ident, Ident, Vec<(Ident, Expr)>)
Const(Ident, Expr)
On(EdgeRef, SeqBlock)
Always(SeqBlock)
Trait Implementations
impl Clone for Decl
[src]
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
[src]
impl Eq for Decl
[src]
impl Hash for Decl
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more