Struct moore_svlog_syntax::ast::GenerateIf
[−]
[src]
pub struct GenerateIf { pub span: Span, pub cond: Expr, pub main_block: GenerateBlock, pub else_block: Option<GenerateBlock>, }
Fields
span: Span
cond: Expr
main_block: GenerateBlock
else_block: Option<GenerateBlock>
Trait Implementations
impl Debug for GenerateIf
[src]
impl Clone for GenerateIf
[src]
fn clone(&self) -> GenerateIf
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for GenerateIf
[src]
fn eq(&self, __arg_0: &GenerateIf) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GenerateIf) -> bool
[src]
This method tests for !=
.
impl Eq for GenerateIf
[src]
impl Encodable for GenerateIf
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
Serialize a value using an Encoder
.