pub struct WeakAcyclicity { /* private fields */ }Expand description
Evidence that a program satisfies TerminationCriterion::WeaklyAcyclic.
Implementations§
Source§impl WeakAcyclicity
impl WeakAcyclicity
Sourcepub fn criterion(&self) -> TerminationCriterion
pub fn criterion(&self) -> TerminationCriterion
The criterion this evidence proves.
Sourcepub fn special_edges(&self) -> usize
pub fn special_edges(&self) -> usize
Number of value-inventing edges, all acyclic.
Sourcepub fn skolem_depth(&self) -> usize
pub fn skolem_depth(&self) -> usize
The largest number of value-inventing edges on any path: an upper bound on how deeply invented values can nest.
Sourcepub fn deepest(&self) -> Option<&ArgumentPosition>
pub fn deepest(&self) -> Option<&ArgumentPosition>
The smallest position reaching Self::skolem_depth, when it is
greater than zero.
Trait Implementations§
Source§impl Clone for WeakAcyclicity
impl Clone for WeakAcyclicity
Source§impl Debug for WeakAcyclicity
impl Debug for WeakAcyclicity
Source§impl<'de> Deserialize<'de> for WeakAcyclicity
impl<'de> Deserialize<'de> for WeakAcyclicity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WeakAcyclicity
Source§impl PartialEq for WeakAcyclicity
impl PartialEq for WeakAcyclicity
Source§impl Serialize for WeakAcyclicity
impl Serialize for WeakAcyclicity
impl StructuralPartialEq for WeakAcyclicity
Auto Trait Implementations§
impl Forget for WeakAcyclicity
impl Freeze for WeakAcyclicitywhere
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<LiteralIndex>: Freeze,
impl Move for WeakAcyclicity
impl RefUnwindSafe for WeakAcyclicity
impl Send for WeakAcyclicity
impl Sync for WeakAcyclicity
impl Unpin for WeakAcyclicity
impl UnsafeUnpin for WeakAcyclicitywhere
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<LiteralIndex>: UnsafeUnpin,
impl UnwindSafe for WeakAcyclicity
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