Struct CacheBool
pub struct CacheBool<'ctx, S: SmtSolver<'ctx>> { /* private fields */ }
Expand description
Cacheable SMT Bool type.
Trait Implementations§
§impl<'ctx, S: SmtSolver<'ctx> + 'ctx, C: SolverCache> SmtBool<'ctx, CachedSolver<'ctx, S, C>> for CacheBool<'ctx, S>
impl<'ctx, S: SmtSolver<'ctx> + 'ctx, C: SolverCache> SmtBool<'ctx, CachedSolver<'ctx, S, C>> for CacheBool<'ctx, S>
§fn is_identical(&self, other: &Self) -> bool
fn is_identical(&self, other: &Self) -> bool
Returns true if both expressions are structurally identical.
§fn _eq(self, other: Self) -> CacheBool<'ctx, S>
fn _eq(self, other: Self) -> CacheBool<'ctx, S>
Returns an SMT expression that performs an equality comparison between the two bools.
§fn ite_bv(
self,
lhs: CacheBV<'ctx, S>,
rhs: CacheBV<'ctx, S>,
) -> CacheBV<'ctx, S>
fn ite_bv( self, lhs: CacheBV<'ctx, S>, rhs: CacheBV<'ctx, S>, ) -> CacheBV<'ctx, S>
Creates an If-Then-Else expression that returns bitvectors. Read more
§fn ite_int(
self,
lhs: CacheInt<'ctx, S>,
rhs: CacheInt<'ctx, S>,
) -> CacheInt<'ctx, S>
fn ite_int( self, lhs: CacheInt<'ctx, S>, rhs: CacheInt<'ctx, S>, ) -> CacheInt<'ctx, S>
Creates an If-Then-Else expression that returns integers. Read more
§fn ite_bool(
self,
lhs: CacheBool<'ctx, S>,
rhs: CacheBool<'ctx, S>,
) -> CacheBool<'ctx, S>
fn ite_bool( self, lhs: CacheBool<'ctx, S>, rhs: CacheBool<'ctx, S>, ) -> CacheBool<'ctx, S>
Creates an If-Then-Else expression that returns booleans. Read more
§fn ite_bv_array(
self,
lhs: CacheBVArray<'ctx, S>,
rhs: CacheBVArray<'ctx, S>,
) -> CacheBVArray<'ctx, S>
fn ite_bv_array( self, lhs: CacheBVArray<'ctx, S>, rhs: CacheBVArray<'ctx, S>, ) -> CacheBVArray<'ctx, S>
Creates an If-Then-Else expression that returns bitvector arrays. Read more
§fn ite_dynamic(self, lhs: Dynamic<'a, S>, rhs: Dynamic<'a, S>) -> Dynamic<'a, S>
fn ite_dynamic(self, lhs: Dynamic<'a, S>, rhs: Dynamic<'a, S>) -> Dynamic<'a, S>
§fn into_dynamic(self) -> Dynamic<'a, S>
fn into_dynamic(self) -> Dynamic<'a, S>
Converts the bool into a
Dynamic
expression.Auto Trait Implementations§
impl<'ctx, S> Freeze for CacheBool<'ctx, S>
impl<'ctx, S> RefUnwindSafe for CacheBool<'ctx, S>
impl<'ctx, S> Send for CacheBool<'ctx, S>
impl<'ctx, S> Sync for CacheBool<'ctx, S>
impl<'ctx, S> Unpin for CacheBool<'ctx, S>
impl<'ctx, S> UnwindSafe for CacheBool<'ctx, S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more