[][src]Struct smt2::response::Definition

pub struct Definition<E: Environment> {
    pub rec: bool,
    pub declarations: Vec<Declaration<E>>,
    pub bodies: Vec<Typed<Term<E>>>,
    pub comments: String,
}

Model function definition.

Fields

rec: booldeclarations: Vec<Declaration<E>>bodies: Vec<Typed<Term<E>>>comments: String

Trait Implementations

impl<E: Environment> Display for Definition<E> where
    E::Constant: Display,
    E::Ident: Display,
    E::Function: Display,
    E::Sort: Display
[src]

impl<E: Environment> From<Definition<E>> for Located<Definition> where
    E::Constant: Display,
    E::Ident: Display,
    E::Function: Display,
    E::Sort: Display
[src]

impl<E: Environment> Untypable for Definition<E>[src]

type Sort = E::Sort

type Environment = E

Auto Trait Implementations

impl<E> RefUnwindSafe for Definition<E> where
    <E as Environment>::Constant: RefUnwindSafe,
    <E as Environment>::Function: RefUnwindSafe,
    <E as Environment>::Ident: RefUnwindSafe,
    <E as Environment>::Sort: RefUnwindSafe

impl<E> Send for Definition<E> where
    <E as Environment>::Constant: Send,
    <E as Environment>::Function: Send,
    <E as Environment>::Ident: Send,
    <E as Environment>::Sort: Send

impl<E> Sync for Definition<E> where
    <E as Environment>::Constant: Sync,
    <E as Environment>::Function: Sync,
    <E as Environment>::Ident: Sync,
    <E as Environment>::Sort: Sync

impl<E> Unpin for Definition<E> where
    <E as Environment>::Constant: Unpin,
    <E as Environment>::Function: Unpin,
    <E as Environment>::Ident: Unpin,
    <E as Environment>::Sort: Unpin

impl<E> UnwindSafe for Definition<E> where
    <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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.