ProtoIndex
alloy.proto.ProtoIndex
object ProtoIndex extends Newtype[Int]
Marks an explicit index to be used for a structure member when it is interpreted as protobuf. For example:
structure Test { @
protoIndex(2) str: String }
Is equivalent to:
message Test { string str = 2 }
Attributes
- Graph
-
- Supertypes
- Self type
-
ProtoIndex.type
Members list
In this article