Enum moore_svlog::ast::SubroutineItem [−][src]
pub enum SubroutineItem<'a> {
PortDecl(SubroutinePortDecl<'a>),
Stmt(Node<'a, StmtData<'a>>),
}
Variants
PortDecl(SubroutinePortDecl<'a>)
Tuple Fields of PortDecl
0: SubroutinePortDecl<'a>
Trait Implementations
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 SubroutineItem<'a>
impl<'a> Send for SubroutineItem<'a>
impl<'a> Sync for SubroutineItem<'a>
impl<'a> Unpin for SubroutineItem<'a>
impl<'a> !UnwindSafe for SubroutineItem<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more