[][src]Enum z3_sys::GoalPrec

#[repr(u32)]pub enum GoalPrec {
    Precise,
    Under,
    Over,
    UnderOver,
}

A Goal is essentially a set of formulas. Z3 provide APIs for building strategies/tactics for solving and transforming Goals. Some of these transformations apply under/over approximations.

This corresponds to Z3_goal_prec in the C API.

Variants

Precise

Approximations/Relaxations were not applied on the goal (sat and unsat answers were preserved).

This corresponds to Z3_GOAL_PRECISE in the C API.

Under

Goal is the product of a under-approximation (sat answers are preserved).

This corresponds to Z3_GOAL_UNDER in the C API.

Over

Goal is the product of an over-approximation (unsat answers are preserved).

This corresponds to Z3_GOAL_OVER in the C API.

UnderOver

Goal is garbage (it is the product of over- and under-approximations, sat and unsat answers are not preserved).

This corresponds to Z3_GOAL_UNDER_OVER in the C API.

Trait Implementations

impl Clone for GoalPrec[src]

impl Copy for GoalPrec[src]

impl Debug for GoalPrec[src]

impl Eq for GoalPrec[src]

impl Hash for GoalPrec[src]

impl PartialEq<GoalPrec> for GoalPrec[src]

impl StructuralEq for GoalPrec[src]

impl StructuralPartialEq for GoalPrec[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.