Struct moore_svlog::ast::GenerateIfData [−][src]
pub struct GenerateIfData<'a> {
pub cond: Node<'a, ExprData<'a>>,
pub main_block: Node<'a, GenerateBlockData<'a>>,
pub else_block: Option<Node<'a, GenerateBlockData<'a>>>,
}
Expand description
An if
generate statement.
Fields
cond: Node<'a, ExprData<'a>>
main_block: Node<'a, GenerateBlockData<'a>>
else_block: Option<Node<'a, GenerateBlockData<'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 GenerateIfData<'a>
impl<'a> Send for GenerateIfData<'a>
impl<'a> Sync for GenerateIfData<'a>
impl<'a> Unpin for GenerateIfData<'a>
impl<'a> !UnwindSafe for GenerateIfData<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more