Expand description
Declaration table mapping tag names to their property specs.
This is the single source of truth for every safety tag rapx understands:
its PropertyKind, the argument shapes it accepts (for variable-arity tags
there is more than one form), its default ContractKind, and its rendering
template.
PropertyKind orthogonalisation lives on PropertyKind in types.rs.
Some tags are declared but not fully supported: Unwrap, Pinned,
Opened and Unreachable are parsed but the checker returns Unknown;
NonVolatile is assumed satisfied (the VM does not model volatile access).
Re-exportsยง
use ArgKind::Expr;๐use ArgKind::Ident;๐use ArgKind::Target;๐use ArgKind::Ty;๐use super::*;๐
Structsยง
- Property
Spec ๐
Enumsยง
- ArgKind ๐
Staticsยง
- SPECS ๐
Functionsยง
- find_
spec ๐ - kind_
meaning ๐ - The canonical meaning template for a property kind (the first tag that maps
to
kind). Argument-dependent kinds override this at render time. - ps ๐
- tag_
name_ ๐for_ kind - The first tag name that maps to
kind(the inverse offind_spec).