[−]Type Definition vector2math::simd::f64x2
type f64x2 = Simd<[f64; 2]>;
This is supported on crate feature
simd only.A 128-bit vector with 2 f64 lanes.
Trait Implementations
impl Vector2 for f64x2[src]
type Scalar = f64
The scalar type
fn new(x: Self::Scalar, y: Self::Scalar) -> Self[src]
fn x(self) -> Self::Scalar[src]
fn y(self) -> Self::Scalar[src]
fn square(s: Self::Scalar) -> Self[src]
fn add(self, other: Self) -> Self[src]
fn sub(self, other: Self) -> Self[src]
fn mul2(self, other: Self) -> Self[src]
fn div2(self, other: Self) -> Self[src]
fn add_assign(&mut self, other: Self)[src]
fn sub_assign(&mut self, other: Self)[src]
fn mul2_assign(&mut self, other: Self)[src]
fn div2_assign(&mut self, other: Self)[src]
fn set_x(&mut self, x: Self::Scalar)[src]
fn set_y(&mut self, y: Self::Scalar)[src]
fn with_x(self, x: Self::Scalar) -> Self[src]
fn with_y(self, y: Self::Scalar) -> Self[src]
fn map<V>(self) -> V where
V: Vector2,
V::Scalar: From<Self::Scalar>, [src]
V: Vector2,
V::Scalar: From<Self::Scalar>,
fn map_f32(self) -> [f32; 2] where
f32: From<Self::Scalar>, [src]
f32: From<Self::Scalar>,
fn map_f64(self) -> [f64; 2] where
f64: From<Self::Scalar>, [src]
f64: From<Self::Scalar>,
fn map_with<V, F>(self, f: F) -> V where
V: Vector2,
F: FnMut(Self::Scalar) -> V::Scalar, [src]
V: Vector2,
F: FnMut(Self::Scalar) -> V::Scalar,
fn neg(self) -> Self where
Self::Scalar: Neg<Output = Self::Scalar>, [src]
Self::Scalar: Neg<Output = Self::Scalar>,
fn mul(self, by: Self::Scalar) -> Self[src]
fn div(self, by: Self::Scalar) -> Self[src]
fn mul_assign(&mut self, by: Self::Scalar)[src]
fn div_assign(&mut self, by: Self::Scalar)[src]
fn max_dim(self) -> Self::Scalar[src]
fn min_dim(self) -> Self::Scalar[src]
fn dot<V>(self, other: V) -> Self::Scalar where
V: Vector2<Scalar = Self::Scalar>, [src]
V: Vector2<Scalar = Self::Scalar>,