Enum moore_svlog_syntax::ast::SubroutineItem [−][src]
pub enum SubroutineItem<'a> {
PortDecl(SubroutinePortDecl<'a>),
Stmt(Stmt<'a>),
}Variants
PortDecl(SubroutinePortDecl<'a>)Tuple Fields of PortDecl
0: SubroutinePortDecl<'a>Stmt(Stmt<'a>)Tuple Fields of Stmt
0: Stmt<'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