Struct moore_svlog::hir::GenvarDecl [−][src]
pub struct GenvarDecl {
pub id: NodeId,
pub name: Spanned<Name>,
pub span: Span,
pub init: Option<NodeId>,
}
Expand description
A genvar declaration.
Fields
id: NodeId
name: Spanned<Name>
span: Span
init: 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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for GenvarDecl
impl Send for GenvarDecl
impl Sync for GenvarDecl
impl Unpin for GenvarDecl
impl UnwindSafe for GenvarDecl
Blanket Implementations
Mutably borrows from an owned value. Read more