Struct moore_svlog_syntax::ast::ParamDecl
[−]
[src]
pub struct ParamDecl { pub span: Span, pub local: bool, pub kind: ParamKind, }
A parameter or localparam declaration.
"localparam" data_type_or_implicit list_of_param_assignments
"localparam" "type" list_of_type_assignments
"parameter" data_type_or_implicit list_of_param_assignments
"parameter" "type" list_of_type_assignments
Fields
span: Span
local: bool
kind: ParamKind
Trait Implementations
impl Debug for ParamDecl
[src]
impl Clone for ParamDecl
[src]
fn clone(&self) -> ParamDecl
[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 PartialEq for ParamDecl
[src]
fn eq(&self, __arg_0: &ParamDecl) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ParamDecl) -> bool
[src]
This method tests for !=
.
impl Eq for ParamDecl
[src]
impl Encodable for ParamDecl
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.