Expand description
This module provides runtime utilities for the compiled
executable code of [builtin_macros::exec_spec
].
Macros§
- exec_
spec - Automatically compiles spec items to exec items, with proofs of functional correctness.
Traits§
- Deep
View Clone - Cloned objects have the same deep view
- Exec
Spec Eq - Spec for the executable version of equality.
- Exec
Spec Index - Spec for executable version of
Seq
indexing. - Exec
Spec Len - Spec for executable version of
Seq::len
. - Exec
Spec Type - Any spec types used in
exec_spec
macro must implement this trait to indicate the corresponding exec type (owned and borrowed versions). - ToOwned
- ToRef
ToRef
andToOwned
are almost the same trait but separated to avoid type inference ambiguities.
Type Aliases§
- Spec
String - We use this special alias to tell the
exec_spec
macro to compileSeq<char>
toString
instead ofVec<char>
.