Enum moore_vhdl_syntax::ast::SubprogData
[−]
[src]
pub enum SubprogData { Decl, Inst { name: CompoundName, generics: Option<ParenElems>, }, Body { decls: Vec<DeclItem>, stmts: Vec<Stmt>, }, }
Variants
Decl
Inst
Fields of Inst
name: CompoundName | |
generics: Option<ParenElems> |
Body
Fields of Body
decls: Vec<DeclItem> | |
stmts: Vec<Stmt> |
Trait Implementations
impl Clone for SubprogData
[src]
fn clone(&self) -> SubprogData
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SubprogData
[src]
impl PartialEq for SubprogData
[src]
fn eq(&self, __arg_0: &SubprogData) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SubprogData) -> bool
[src]
This method tests for !=
.
impl Eq for SubprogData
[src]
impl Encodable for SubprogData
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.
impl Decodable for SubprogData
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<SubprogData, __D::Error>
[src]
Deserialize a value using a Decoder
.