Struct moore_svlog::hir::ValueParam [−][src]
pub struct ValueParam {
pub id: NodeId,
pub name: Spanned<Name>,
pub span: Span,
pub local: bool,
pub ty: NodeId,
pub default: Option<NodeId>,
}
Expand description
A value parameter.
Fields
id: NodeId
name: Spanned<Name>
span: Span
local: bool
ty: NodeId
default: Option<NodeId>
Trait Implementations
Allocate a value of type T
.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.