Enum move_lang::expansion::ast::SpecConditionKind_
source · pub enum SpecConditionKind_ {
Show 13 variants
Assert,
Assume,
Decreases,
AbortsIf,
AbortsWith,
SucceedsIf,
Modifies,
Emits,
Ensures,
Requires,
Invariant(Vec<(Name, AbilitySet)>),
InvariantUpdate(Vec<(Name, AbilitySet)>),
Axiom(Vec<(Name, AbilitySet)>),
}
Variants§
Assert
Assume
Decreases
AbortsIf
AbortsWith
SucceedsIf
Modifies
Emits
Ensures
Requires
Invariant(Vec<(Name, AbilitySet)>)
InvariantUpdate(Vec<(Name, AbilitySet)>)
Axiom(Vec<(Name, AbilitySet)>)
Trait Implementations§
source§impl Clone for SpecConditionKind_
impl Clone for SpecConditionKind_
source§fn clone(&self) -> SpecConditionKind_
fn clone(&self) -> SpecConditionKind_
Returns a copy 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 SpecConditionKind_
impl Debug for SpecConditionKind_
source§impl PartialEq<SpecConditionKind_> for SpecConditionKind_
impl PartialEq<SpecConditionKind_> for SpecConditionKind_
source§fn eq(&self, other: &SpecConditionKind_) -> bool
fn eq(&self, other: &SpecConditionKind_) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.