#[non_exhaustive]pub enum TerminationCriterion {
WeaklyAcyclic,
}Expand description
A sufficient criterion for the termination of bottom-up evaluation.
Failing a criterion is not a proof of non-termination.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
WeaklyAcyclic
No value-inventing edge of the position graph lies on a cycle.
Implementations§
Source§impl TerminationCriterion
impl TerminationCriterion
Sourcepub const fn law_version(self) -> LawVersion
pub const fn law_version(self) -> LawVersion
Version of the law this criterion currently proves.
Trait Implementations§
Source§impl Clone for TerminationCriterion
impl Clone for TerminationCriterion
impl Copy for TerminationCriterion
Source§impl Debug for TerminationCriterion
impl Debug for TerminationCriterion
Source§impl<'de> Deserialize<'de> for TerminationCriterion
impl<'de> Deserialize<'de> for TerminationCriterion
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
Source§impl Display for TerminationCriterion
impl Display for TerminationCriterion
impl Eq for TerminationCriterion
Source§impl Hash for TerminationCriterion
impl Hash for TerminationCriterion
Source§impl Ord for TerminationCriterion
impl Ord for TerminationCriterion
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TerminationCriterion
impl PartialEq for TerminationCriterion
Source§impl PartialOrd for TerminationCriterion
impl PartialOrd for TerminationCriterion
Source§impl Serialize for TerminationCriterion
impl Serialize for TerminationCriterion
impl StructuralPartialEq for TerminationCriterion
Auto Trait Implementations§
impl Forget for TerminationCriterion
impl Freeze for TerminationCriterion
impl Move for TerminationCriterion
impl RefUnwindSafe for TerminationCriterion
impl Send for TerminationCriterion
impl Sync for TerminationCriterion
impl Unpin for TerminationCriterion
impl UnsafeUnpin for TerminationCriterion
impl UnwindSafe for TerminationCriterion
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