Struct moore_vhdl_syntax::ast::DesignUnit
[−]
[src]
pub struct DesignUnit { pub id: NodeId, pub ctx: Vec<CtxItem>, pub data: DesignUnitData, }
A design unit. Multiple design units make up a design file. Each unit consists of an optional context clause followed by a primary or secondary unit.
Fields
id: NodeId
ctx: Vec<CtxItem>
data: DesignUnitData
Trait Implementations
impl Clone for DesignUnit
[src]
fn clone(&self) -> DesignUnit
[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 DesignUnit
[src]
impl PartialEq for DesignUnit
[src]
fn eq(&self, __arg_0: &DesignUnit) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DesignUnit) -> bool
[src]
This method tests for !=
.
impl Eq for DesignUnit
[src]
impl Encodable for DesignUnit
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.