pub trait Sort {
// Required methods
fn is_pure(&self) -> bool;
fn is_strict(&self) -> bool;
fn is_provable(&self) -> bool;
fn is_free(&self) -> bool;
}Expand description
A handle to a sort.
Sorts have modifiers that can be queried with this handle. These modifiers correspond to assertions that are verified by the kernel during execution.
Required Methods§
Sourcefn is_strict(&self) -> bool
fn is_strict(&self) -> bool
A strict sort can not be used as a name.
TODO: explain what a name is.
Sourcefn is_provable(&self) -> bool
fn is_provable(&self) -> bool
Only statements with a provable sort can be proven by the kernel.