Struct CacheModelRef
pub struct CacheModelRef<'r, 'ctx, S: SmtSolver<'ctx> + 'r>(/* private fields */);
Expand description
A reference to a CacheModel
.
Trait Implementations§
§impl<'ctx, S: SmtSolver<'ctx>> Debug for CacheModelRef<'_, 'ctx, S>
impl<'ctx, S: SmtSolver<'ctx>> Debug for CacheModelRef<'_, 'ctx, S>
§impl<'r, 'ctx, S: SmtSolver<'ctx> + 'r + 'ctx, C: SolverCache> SmtModelRef<'ctx, CachedSolver<'ctx, S, C>> for CacheModelRef<'r, 'ctx, S>
impl<'r, 'ctx, S: SmtSolver<'ctx> + 'r + 'ctx, C: SolverCache> SmtModelRef<'ctx, CachedSolver<'ctx, S, C>> for CacheModelRef<'r, 'ctx, S>
§fn to_model(&self) -> Option<CacheModel<'ctx, S>>
fn to_model(&self) -> Option<CacheModel<'ctx, S>>
Convert the reference into an owned model.
Auto Trait Implementations§
impl<'r, 'ctx, S> Freeze for CacheModelRef<'r, 'ctx, S>
impl<'r, 'ctx, S> RefUnwindSafe for CacheModelRef<'r, 'ctx, S>
impl<'r, 'ctx, S> Send for CacheModelRef<'r, 'ctx, S>
impl<'r, 'ctx, S> Sync for CacheModelRef<'r, 'ctx, S>
impl<'r, 'ctx, S> Unpin for CacheModelRef<'r, 'ctx, S>
impl<'r, 'ctx, S> UnwindSafe for CacheModelRef<'r, '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
§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