[][src]Struct z3::ast::Bool

pub struct Bool<'ctx> { /* fields omitted */ }

Ast node representing a boolean value.

Implementations

impl<'ctx> Bool<'ctx>[src]

pub fn new_const<S: Into<Symbol>>(ctx: &'ctx Context, name: S) -> Bool<'ctx>[src]

pub fn fresh_const(ctx: &'ctx Context, prefix: &str) -> Bool<'ctx>[src]

pub fn from_bool(ctx: &'ctx Context, b: bool) -> Bool<'ctx>[src]

pub fn as_bool(&self) -> Option<bool>[src]

pub fn translate<'dest_ctx>(&self, dest: &'dest_ctx Context) -> Bool<'dest_ctx>[src]

pub fn ite<T>(&self, a: &T, b: &T) -> T where
    T: Ast<'ctx>, 
[src]

pub fn and(&self, other: &[&Self]) -> Self[src]

pub fn or(&self, other: &[&Self]) -> Self[src]

pub fn xor(&self, other: &Self) -> Self[src]

pub fn iff(&self, other: &Self) -> Self[src]

pub fn implies(&self, other: &Self) -> Self[src]

pub fn not(&self) -> Self[src]

pub fn pb_le(
    &self,
    other: &[&Bool<'ctx>],
    coeffs: Vec<i32>,
    k: i32
) -> Bool<'ctx>
[src]

pub fn pb_ge(
    &self,
    other: &[&Bool<'ctx>],
    coeffs: Vec<i32>,
    k: i32
) -> Bool<'ctx>
[src]

pub fn pb_eq(
    &self,
    other: &[&Bool<'ctx>],
    coeffs: Vec<i32>,
    k: i32
) -> Bool<'ctx>
[src]

Trait Implementations

impl<'ctx> Ast<'ctx> for Bool<'ctx>[src]

impl<'ctx> Clone for Bool<'ctx>[src]

impl<'ctx> Debug for Bool<'ctx>[src]

impl<'ctx> Display for Bool<'ctx>[src]

impl<'ctx> Drop for Bool<'ctx>[src]

impl<'ctx> Eq for Bool<'ctx>[src]

impl<'ctx> From<Bool<'ctx>> for Z3_ast[src]

impl<'ctx> From<Bool<'ctx>> for Dynamic<'ctx>[src]

impl<'ctx> Hash for Bool<'ctx>[src]

impl<'ctx> PartialEq<Bool<'ctx>> for Bool<'ctx>[src]

impl<'ctx> TryFrom<Dynamic<'ctx>> for Bool<'ctx>[src]

type Error = String

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'ctx> RefUnwindSafe for Bool<'ctx>

impl<'ctx> !Send for Bool<'ctx>

impl<'ctx> !Sync for Bool<'ctx>

impl<'ctx> Unpin for Bool<'ctx>

impl<'ctx> UnwindSafe for Bool<'ctx>

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> 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.