pub trait AabbVector:
Copy
+ Add<Output = Self>
+ Sub<Output = Self> {
type Scalar: Copy + PartialOrd + Add<Output = Self::Scalar> + Sub<Output = Self::Scalar> + Div<Output = Self::Scalar> + Neg<Output = Self::Scalar> + From<u8>;
// Required methods
fn new(x: Self::Scalar, y: Self::Scalar, z: Self::Scalar) -> Self;
fn x(self) -> Self::Scalar;
fn y(self) -> Self::Scalar;
fn z(self) -> Self::Scalar;
fn min(self, other: Self) -> Self;
fn max(self, other: Self) -> Self;
}Expand description
Vector operations used by generic AABB helpers.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".