Evaluates to version information of S if S is a versioned struct:
- exists: true if S is a versioned struct or false if S is a struct
without version or not a struct. If false the other constants are
not defined.
- number: The value of the struct version (S.Info), expected to
be of type Type.
- next/prev: Info for S.StructNext or S.StructPrev, respectively
- type : type of struct this info belongs to
next/prev are recursive instances of this template so they can be
checked for existence by Info!(S).next.exists
If that's true the next version number is Info!(S).next.number.
The next version itself can contain a next version,
use Info!(S).next.next.exists to check it out.
Evaluates to version information of S if S is a versioned struct:
- exists: true if S is a versioned struct or false if S is a struct without version or not a struct. If false the other constants are not defined. - number: The value of the struct version (S.Info), expected to be of type Type. - next/prev: Info for S.StructNext or S.StructPrev, respectively - type : type of struct this info belongs to
next/prev are recursive instances of this template so they can be checked for existence by Info!(S).next.exists If that's true the next version number is Info!(S).next.number. The next version itself can contain a next version, use Info!(S).next.next.exists to check it out.