[−][src]Enum smt2::Term
A term.
Variants
Const(E::Constant)
Fields of Var
Implementations
impl<E: Environment> Term<E>
[src]
pub fn apply(
fun: E::Function,
args: Vec<Typed<Term<E>>>,
sort: GroundSort<E::Sort>
) -> Typed<Term<E>>
[src]
fun: E::Function,
args: Vec<Typed<Term<E>>>,
sort: GroundSort<E::Sort>
) -> Typed<Term<E>>
Trait Implementations
impl<E: Environment> Display for Term<E> where
E::Constant: Display,
E::Ident: Display,
E::Function: Display,
E::Sort: Display,
[src]
E::Constant: Display,
E::Ident: Display,
E::Function: Display,
E::Sort: Display,
impl<E: Environment> From<Term<E>> for Located<Term> where
E::Constant: Display,
E::Ident: Display,
E::Function: Display,
E::Sort: Display,
[src]
E::Constant: Display,
E::Ident: Display,
E::Function: Display,
E::Sort: Display,
impl<E: Environment> Typable for Term<E>
[src]
type Sort = E::Sort
type Environment = E
fn type_decoration(
&mut self,
checker: &mut TypeChecker<E::Sort>,
env: &E,
this_type: TypeRef<E::Sort>
)
[src]
&mut self,
checker: &mut TypeChecker<E::Sort>,
env: &E,
this_type: TypeRef<E::Sort>
)
Auto Trait Implementations
impl<E> RefUnwindSafe for Term<E> where
<E as Environment>::Constant: RefUnwindSafe,
<E as Environment>::Function: RefUnwindSafe,
<E as Environment>::Ident: RefUnwindSafe,
<E as Environment>::Sort: RefUnwindSafe,
<E as Environment>::Constant: RefUnwindSafe,
<E as Environment>::Function: RefUnwindSafe,
<E as Environment>::Ident: RefUnwindSafe,
<E as Environment>::Sort: RefUnwindSafe,
impl<E> Send for Term<E> where
<E as Environment>::Constant: Send,
<E as Environment>::Function: Send,
<E as Environment>::Ident: Send,
<E as Environment>::Sort: Send,
<E as Environment>::Constant: Send,
<E as Environment>::Function: Send,
<E as Environment>::Ident: Send,
<E as Environment>::Sort: Send,
impl<E> Sync for Term<E> where
<E as Environment>::Constant: Sync,
<E as Environment>::Function: Sync,
<E as Environment>::Ident: Sync,
<E as Environment>::Sort: Sync,
<E as Environment>::Constant: Sync,
<E as Environment>::Function: Sync,
<E as Environment>::Ident: Sync,
<E as Environment>::Sort: Sync,
impl<E> Unpin for Term<E> where
<E as Environment>::Constant: Unpin,
<E as Environment>::Function: Unpin,
<E as Environment>::Ident: Unpin,
<E as Environment>::Sort: Unpin,
<E as Environment>::Constant: Unpin,
<E as Environment>::Function: Unpin,
<E as Environment>::Ident: Unpin,
<E as Environment>::Sort: Unpin,
impl<E> UnwindSafe for Term<E> where
<E as Environment>::Constant: UnwindSafe,
<E as Environment>::Function: UnwindSafe,
<E as Environment>::Ident: UnwindSafe,
<E as Environment>::Sort: UnwindSafe,
<E as Environment>::Constant: UnwindSafe,
<E as Environment>::Function: UnwindSafe,
<E as Environment>::Ident: UnwindSafe,
<E as Environment>::Sort: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,