// - edit Vector.equality.tt to modify #nullable enable namespace Brutal.Numerics; public partial struct bool3 { /// public readonly override int GetHashCode() { return HashCode.Combine(X, Y, Z); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public readonly bool Equals(bool3 other) { return X == other.X && Y == other.Y && Z == other.Z; } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public readonly override bool Equals([NotNullWhen(true)] object? obj) { return obj is bool3 other && Equals(other); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public static bool operator ==(bool3 a, bool3 b) { return a.Equals(b); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] public static bool operator !=(bool3 a, bool3 b) { return !(a == b); } }