Enum hoodlum::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 Eq for Decl
[src]
impl Hash for Decl
[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher,
__H: Hasher,
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
impl PartialEq<Decl> for Decl
[src]
fn eq(&self, __arg_0: &Decl) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Decl) -> bool
This method tests for !=
.
impl Debug for Decl
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
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