Enum smtlib_lowlevel::ast::SExpr
source · pub enum SExpr {
SpecConstant(SpecConstant),
Symbol(Symbol),
Reserved(Reserved),
Keyword(Keyword),
Paren(Vec<SExpr>),
}
Variants§
SpecConstant(SpecConstant)
<spec_constant>
Symbol(Symbol)
<symbol>
Reserved(Reserved)
<reserved>
Keyword(Keyword)
<keyword>
Paren(Vec<SExpr>)
(<s_expr>*)
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SExpr
impl<'de> Deserialize<'de> for SExpr
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for SExpr
impl PartialEq for SExpr
impl Eq for SExpr
impl StructuralPartialEq for SExpr
Auto Trait Implementations§
impl Freeze for SExpr
impl RefUnwindSafe for SExpr
impl Send for SExpr
impl Sync for SExpr
impl Unpin for SExpr
impl UnwindSafe for SExpr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more