示例#1
0
func (l Direction_List) Set(i int, v Direction) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}
func (l Side_List) Set(i int, v Side) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}
示例#3
0
func (l CellType_List) Set(i int, v CellType) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}