Enum smtlib_lowlevel::ast::SpecConstant
source · pub enum SpecConstant {
Numeral(Numeral),
Decimal(Decimal),
Hexadecimal(Hexadecimal),
Binary(Binary),
String(String),
}Variants§
Numeral(Numeral)
<numeral>
Decimal(Decimal)
<decimal>
Hexadecimal(Hexadecimal)
<hexadecimal>
Binary(Binary)
<binary>
String(String)
<string>
Implementations§
Trait Implementations§
source§impl Clone for SpecConstant
impl Clone for SpecConstant
source§fn clone(&self) -> SpecConstant
fn clone(&self) -> SpecConstant
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 SpecConstant
impl Debug for SpecConstant
source§impl Display for SpecConstant
impl Display for SpecConstant
source§impl Hash for SpecConstant
impl Hash for SpecConstant
source§impl PartialEq<SpecConstant> for SpecConstant
impl PartialEq<SpecConstant> for SpecConstant
source§fn eq(&self, other: &SpecConstant) -> bool
fn eq(&self, other: &SpecConstant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.