Struct moore_svlog::ast::SubroutinePrototypeData [−][src]
pub struct SubroutinePrototypeData<'a> {
pub kind: SubroutineKind,
pub lifetime: Option<Lifetime>,
pub name: Spanned<Name>,
pub args: Vec<Node<'a, SubroutinePortData<'a>>, Global>,
pub retty: Option<Node<'a, TypeData<'a>>>,
}
Expand description
A function or task prototype.
Fields
kind: SubroutineKind
lifetime: Option<Lifetime>
name: Spanned<Name>
args: Vec<Node<'a, SubroutinePortData<'a>>, Global>
retty: Option<Node<'a, TypeData<'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.
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 SubroutinePrototypeData<'a>
impl<'a> Send for SubroutinePrototypeData<'a>
impl<'a> Sync for SubroutinePrototypeData<'a>
impl<'a> Unpin for SubroutinePrototypeData<'a>
impl<'a> !UnwindSafe for SubroutinePrototypeData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more