So I have this enum called OrientationKind with two possible values, which map to essentially collections of floats inside an Orientation struct. I'd like to be able to get the values as collections of either f16s, f32s or f64s so I tried using generics, but I must be doing something wrong since I get a compiler error: Parameter T is never used on the Enum...
#Beginner needs help with generics
3 messages · Page 1 of 1 (latest)