Struct moore_svlog::hir::Port [−][src]
pub struct Port {
pub id: NodeId,
pub name: Spanned<Name>,
pub span: Span,
pub dir: PortDir,
pub ty: NodeId,
pub default: Option<NodeId>,
}
Expand description
A module or interface port.
Fields
id: NodeId
name: Spanned<Name>
span: Span
dir: PortDir
ty: NodeId
default: Option<NodeId>
Trait Implementations
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