[][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]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for GoalPrec[src]

impl Eq for GoalPrec[src]

impl PartialEq<GoalPrec> for GoalPrec[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Hash for GoalPrec[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for GoalPrec[src]

Auto Trait Implementations

Blanket Implementations

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> From<T> for T[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.

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

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

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