[][src]Struct gf::smt::Formula

pub struct Formula { /* fields omitted */ }

Formula, a collection of asserted expressions.


impl Formula[src]

pub fn new() -> Self[src]

Create an empty formula.

pub fn assert(&mut self, expr: Expr)[src]

Assert an expression.

pub fn assertions(&self) -> &[Expr][src]

Return asserted expressions.

Trait Implementations

impl Clone for Formula[src]

impl Debug for Formula[src]

impl Eq for Formula[src]

impl Hash for Formula[src]

impl PartialEq<Formula> for Formula[src]

impl StructuralEq for Formula[src]

impl StructuralPartialEq for Formula[src]

Auto Trait Implementations

impl RefUnwindSafe for Formula

impl Send for Formula

impl Sync for Formula

impl Unpin for Formula

impl UnwindSafe for Formula

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.