예제 #1
0
func (l Side_List) At(i int) Side {
	ul := capnp.UInt16List{List: l.List}
	return Side(ul.At(i))
}
예제 #2
0
func (l Side_List) Set(i int, v Side) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}
예제 #3
0
func (l Direction_List) Set(i int, v Direction) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}
예제 #4
0
func (l Direction_List) At(i int) Direction {
	ul := capnp.UInt16List{List: l.List}
	return Direction(ul.At(i))
}
예제 #5
0
func (l Faction_List) At(i int) Faction {
	ul := capnp.UInt16List{List: l.List}
	return Faction(ul.At(i))
}
예제 #6
0
func (l CellType_List) Set(i int, v CellType) {
	ul := capnp.UInt16List{List: l.List}
	ul.Set(i, uint16(v))
}
예제 #7
0
func (l CellType_List) At(i int) CellType {
	ul := capnp.UInt16List{List: l.List}
	return CellType(ul.At(i))
}