pub struct TerminationCache { /* private fields */ }Expand description
A cache of termination results for batch checking.
Implementations§
Source§impl TerminationCache
impl TerminationCache
Sourcepub fn mark_terminating(&mut self, name: Name)
pub fn mark_terminating(&mut self, name: Name)
Record that a function terminates.
Sourcepub fn mark_nonterminating(&mut self, name: Name)
pub fn mark_nonterminating(&mut self, name: Name)
Record that a function may not terminate.
Sourcepub fn is_known_terminating(&self, name: &Name) -> Option<bool>
pub fn is_known_terminating(&self, name: &Name) -> Option<bool>
Query if a function is known to terminate.
Trait Implementations§
Source§impl Clone for TerminationCache
impl Clone for TerminationCache
Source§fn clone(&self) -> TerminationCache
fn clone(&self) -> TerminationCache
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TerminationCache
impl Debug for TerminationCache
Source§impl Default for TerminationCache
impl Default for TerminationCache
Source§fn default() -> TerminationCache
fn default() -> TerminationCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TerminationCache
impl RefUnwindSafe for TerminationCache
impl Send for TerminationCache
impl Sync for TerminationCache
impl Unpin for TerminationCache
impl UnsafeUnpin for TerminationCache
impl UnwindSafe for TerminationCache
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