Struct moore_svlog::ast::ModportSimplePortData [−][src]
pub struct ModportSimplePortData<'a> {
pub name: Spanned<Name>,
pub expr: Option<&'a Node<'a, ExprData<'a>>>,
}
Expand description
A single simple modport port.
For example the a
or .b(expr)
in input a, .b(expr)
.
Fields
name: Spanned<Name>
The name of the port.
expr: Option<&'a Node<'a, ExprData<'a>>>
The optional parenthesized expression of the port.
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 ModportSimplePortData<'a>
impl<'a> Send for ModportSimplePortData<'a>
impl<'a> Sync for ModportSimplePortData<'a>
impl<'a> Unpin for ModportSimplePortData<'a>
impl<'a> !UnwindSafe for ModportSimplePortData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more