Enum smtlib_lowlevel::ast::DatatypeDec
source · pub enum DatatypeDec {
DatatypeDec(Vec<ConstructorDec>),
Par(Vec<Symbol>, Vec<ConstructorDec>),
}Variants§
DatatypeDec(Vec<ConstructorDec>)
(<constructor_dec>+)
Par(Vec<Symbol>, Vec<ConstructorDec>)
(par (<symbol>+) (<constructor_dec>+))
Implementations§
Trait Implementations§
source§impl Clone for DatatypeDec
impl Clone for DatatypeDec
source§fn clone(&self) -> DatatypeDec
fn clone(&self) -> DatatypeDec
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DatatypeDec
impl Debug for DatatypeDec
source§impl Display for DatatypeDec
impl Display for DatatypeDec
source§impl Hash for DatatypeDec
impl Hash for DatatypeDec
source§impl PartialEq<DatatypeDec> for DatatypeDec
impl PartialEq<DatatypeDec> for DatatypeDec
source§fn eq(&self, other: &DatatypeDec) -> bool
fn eq(&self, other: &DatatypeDec) -> bool
This method tests for
self and other values to be equal, and is used
by ==.