Enum moore_svlog::ast::PortData [−][src]
pub enum PortData<'a> {
Intf {
modport: Option<Spanned<Name>>,
name: Spanned<Name>,
dims: Vec<TypeDim<'a>, Global>,
expr: Option<Node<'a, ExprData<'a>>>,
},
Explicit {
dir: Option<PortDir>,
name: Spanned<Name>,
expr: Option<Node<'a, ExprData<'a>>>,
},
Named {
dir: Option<PortDir>,
kind: Option<VarKind>,
ty: Node<'a, TypeData<'a>>,
name: Spanned<Name>,
dims: Vec<TypeDim<'a>, Global>,
expr: Option<Node<'a, ExprData<'a>>>,
},
Implicit(Node<'a, ExprData<'a>>),
}
Expand description
A module or interface port as declared in the port list.
Variants
Fields of Intf
Fields of Named
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.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for PortData<'a>
impl<'a> !UnwindSafe for PortData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more