Enum moore_svlog_syntax::ast::PortData [−][src]
pub enum PortData<'a> {
Intf {
modport: Option<Spanned<Name>>,
name: Spanned<Name>,
dims: Vec<TypeDim<'a>>,
expr: Option<Expr<'a>>,
},
Explicit {
dir: Option<PortDir>,
name: Spanned<Name>,
expr: Option<Expr<'a>>,
},
Named {
dir: Option<PortDir>,
kind: Option<VarKind>,
ty: Type<'a>,
name: Spanned<Name>,
dims: Vec<TypeDim<'a>>,
expr: Option<Expr<'a>>,
},
Implicit(Expr<'a>),
}Expand description
A module or interface port as declared in the port list.
Variants
Fields of Intf
Fields of Named
Implicit(Expr<'a>)Tuple Fields of Implicit
0: Expr<'a>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