Enum moore_svlog::ast::VarDimData [−][src]
pub enum VarDimData<'a> {
Unsized,
Unpacked(Node<'a, UnpackedDimData<'a>>),
Assoc(Option<Node<'a, TypeData<'a>>>),
Queue(Option<Node<'a, ExprData<'a>>>),
}
Expand description
A variable dimension.
From §A.2.5:
unsized_dimension
unpacked_dimension
associative_dimension
queue_dimension
Variants
An unsized dimension, like []
.
Unpacked(Node<'a, UnpackedDimData<'a>>)
An unpacked dimension.
Tuple Fields of Unpacked
0: Node<'a, UnpackedDimData<'a>>
An associative dimension, like [<type>]
or [*]
.
A queue dimension, like [$]
or [$:42]
.
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 VarDimData<'a>
impl<'a> Send for VarDimData<'a>
impl<'a> Sync for VarDimData<'a>
impl<'a> Unpin for VarDimData<'a>
impl<'a> !UnwindSafe for VarDimData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more