Enum moore_svlog::ast::TypeOrExpr [−][src]
Expand description
An ambiguous node that can either be a type or and expression.
Use the disamb_type_or_expr
query to disambiguate based on name
resolution.
Variants
Trait Implementations
Allocate a value of type T
.
Get a span that is terse and suitable to pinpoint the node for a human.
Get this node’s parent.
Link up this node.
Link up this node as an expansion of another node. Read more
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 TypeOrExpr<'a>
impl<'a> Send for TypeOrExpr<'a>
impl<'a> Sync for TypeOrExpr<'a>
impl<'a> Unpin for TypeOrExpr<'a>
impl<'a> !UnwindSafe for TypeOrExpr<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more