Enum moore_svlog::ast::PortConnData [−][src]
pub enum PortConnData<'a> {
Auto,
Named(Spanned<Name>, PortConnMode<'a>),
Positional(Node<'a, ExprData<'a>>),
}
Expand description
A port connection in an instantiation.
For example:
foo bar (
.*,
.name,
.name(),
.name(expr),
expr,
);
Variants
The .*
case,
Named(Spanned<Name>, PortConnMode<'a>)
The .name
, .name()
, or .name(expr)
cases,
Tuple Fields of Named
0: Spanned<Name>
1: PortConnMode<'a>
The expr
case,
Trait Implementations
Get this node’s name, or None
if it does not have one.
Describe this node for diagnostics in indefinite form, e.g. “entity”. Read more
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Describe this node for diagnostics in indefinite form, e.g. “entity”.
Describe this node for diagnostics in definite form, e.g. “entity ‘top’”. Read more
Apply a function to each child node.
Apply a function to this node.
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<'a> !RefUnwindSafe for PortConnData<'a>
impl<'a> Send for PortConnData<'a>
impl<'a> Sync for PortConnData<'a>
impl<'a> Unpin for PortConnData<'a>
impl<'a> !UnwindSafe for PortConnData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more