Struct moore_vhdl_syntax::ast::Expr
[−]
[src]
pub struct Expr { pub span: Span, pub data: ExprData, }
An expression.
Fields
span: Span
data: ExprData
Trait Implementations
impl Clone for Expr
[src]
fn clone(&self) -> Expr
[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 Expr
[src]
impl PartialEq for Expr
[src]
fn eq(&self, __arg_0: &Expr) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Expr) -> bool
[src]
This method tests for !=
.
impl Eq for Expr
[src]
impl Encodable for Expr
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.
impl Decodable for Expr
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Expr, __D::Error>
[src]
Deserialize a value using a Decoder
.
impl HasSpan for Expr
[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