Hello,
I got a base struct named Vec3 which is a simple struct with 3 elements.
It implements multiples traits such as Add, Div, Mul, Neg, Sub.
I want to derive from this a type Point which derives only a subset of the traits above.
so I did
type Point = Vec3;
impl !Add for Point {}
but I get the error
Found both positive and negative implementation of trait
is there a way to define a type with only a subset of the impls?
I want to prevent the use of the function Point.add and also make sure that Point is a different type than Vec3 (so can't be compared etc)