pub trait Float: Vector<Scalar = Self::FloatScalar> {
type FloatScalar: FloatScalar + Into<Self>;
const SIGN_MASK: <Self::Boolean as Vector>::Scalar;
fn copysign(self, magnitude: Self) -> Self { ... }
fn sign(self) -> Self { ... }
fn sqrt(self) -> Self { ... }
fn recip(self) -> Self { ... }
fn rsqrt(self) -> Self { ... }
fn fract(self) -> Self { ... }
fn ceil(self) -> Self { ... }
fn floor(self) -> Self { ... }
fn trunc(self) -> Self { ... }
fn mix(self, a: Self, b: Self) -> Self { ... }
fn step(self, a: Self) -> Self { ... }
fn smoothstep(self, a: Self, b: Self) -> Self { ... }
fn sin(self) -> Self { ... }
fn cos(self) -> Self { ... }
}
Associated Types
Associated Constants
SIGN_MASK: <Self::Boolean as Vector>::Scalar
Provided Methods
fn copysign(self, magnitude: Self) -> Self
fn sign(self) -> Self
fn sqrt(self) -> Self
fn recip(self) -> Self
fn rsqrt(self) -> Self
fn fract(self) -> Self
fn ceil(self) -> Self
fn floor(self) -> Self
fn trunc(self) -> Self
fn mix(self, a: Self, b: Self) -> Self
fn step(self, a: Self) -> Self
fn smoothstep(self, a: Self, b: Self) -> Self
fn sin(self) -> Self
fn cos(self) -> Self
Implementors