Struct moore_vhdl_syntax::ast::Stmt
[−]
[src]
pub struct Stmt { pub id: NodeId, pub span: Span, pub label: Option<Spanned<Name>>, pub data: StmtData, }
Fields
id: NodeId
span: Span
label: Option<Spanned<Name>>
data: StmtData
Trait Implementations
impl Clone for Stmt
[src]
fn clone(&self) -> Stmt
[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 Stmt
[src]
impl PartialEq for Stmt
[src]
fn eq(&self, __arg_0: &Stmt) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Stmt) -> bool
[src]
This method tests for !=
.
impl Eq for Stmt
[src]
impl Encodable for Stmt
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.
impl Decodable for Stmt
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Stmt, __D::Error>
[src]
Deserialize a value using a Decoder
.
impl HasSpan for Stmt
[src]
fn span(&self) -> Span
[src]
Obtain the full span of the input file that this node covers.
fn human_span(&self) -> Span
[src]
Obtain a span which can be used to refer to this node in error messages presented to humans. This will generally be the name for things like entities, processes, and variables. Defaults to return whatever span()
returns. Read more