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