Struct siege_math::vector::point::Point3 [−] [src]

```#[repr(C)]
pub struct Point3<F>(pub Vec3<F>);```

Point vector in 3-dimensions

Trait Implementations

`impl<F: Debug> Debug for Point3<F>`[src]

`fn fmt(&self, __arg_0: &mut Formatter) -> Result`[src]

Formats the value using the given formatter. Read more

`impl<F: Clone> Clone for Point3<F>`[src]

`fn clone(&self) -> Point3<F>`[src]

Returns a copy of the value. Read more

`fn clone_from(&mut self, source: &Self)`1.0.0[src]

Performs copy-assignment from `source`. Read more

`impl<F: PartialEq> PartialEq for Point3<F>`[src]

`fn eq(&self, __arg_0: &Point3<F>) -> bool`[src]

This method tests for `self` and `other` values to be equal, and is used by `==`. Read more

`fn ne(&self, __arg_0: &Point3<F>) -> bool`[src]

This method tests for `!=`.

`impl<F: Hash> Hash for Point3<F>`[src]

`fn hash<__HF: Hasher>(&self, __arg_0: &mut __HF)`[src]

Feeds this value into the given [`Hasher`]. Read more

`fn hash_slice<H>(data: &[Self], state: &mut H) where    H: Hasher, `1.3.0[src]

Feeds a slice of this type into the given [`Hasher`]. Read more

`impl<F: FullFloat> Deref for Point3<F>`[src]

`type Target = Vec3<F>`

The resulting type after dereferencing.

`fn deref(&self) -> &Vec3<F>`[src]

Dereferences the value.

`impl<F: FullFloat> From<Point3<F>> for Vec3<F>`[src]

`fn from(v: Point3<F>) -> Vec3<F>`[src]

Performs the conversion.

`impl<F: FullFloat> From<Point3<F>> for Vec4<F>`[src]

`fn from(v: Point3<F>) -> Vec4<F>`[src]

Performs the conversion.

`impl<F: FullFloat> From<Vec3<F>> for Point3<F>`[src]

`fn from(v: Vec3<F>) -> Point3<F>`[src]

Performs the conversion.

`impl<F: FullFloat> From<Vec4<F>> for Point3<F>`[src]

`fn from(v: Vec4<F>) -> Point3<F>`[src]

Performs the conversion.

`impl<F: FullFloat> Add<Vec3<F>> for Point3<F>`[src]

`type Output = Point3<F>`

The resulting type after applying the `+` operator.

`fn add(self, other: Vec3<F>) -> Point3<F>`[src]

Performs the `+` operation.

`impl<F: FullFloat> Sub<Vec3<F>> for Point3<F>`[src]

`type Output = Point3<F>`

The resulting type after applying the `-` operator.

`fn sub(self, other: Vec3<F>) -> Point3<F>`[src]

Performs the `-` operation.

`impl<F: FullFloat> Sub<Point3<F>> for Point3<F>`[src]

`type Output = Vec3<F>`

The resulting type after applying the `-` operator.

`fn sub(self, other: Point3<F>) -> Vec3<F>`[src]

Performs the `-` operation.

`impl<F: FullFloat> Neg for Point3<F>`[src]

`type Output = Point3<F>`

The resulting type after applying the `-` operator.

`fn neg(self) -> Point3<F>`[src]

Performs the unary `-` operation.

`impl From<Point3<f64>> for Point3<f32>`[src]

`fn from(p: Point3<f64>) -> Point3<f32>`[src]

Performs the conversion.

`impl From<Point3<f32>> for Point3<f64>`[src]

`fn from(p: Point3<f32>) -> Point3<f64>`[src]

Performs the conversion.

`impl<F: FullFloat> ApproxEq for Point3<F>`[src]

`fn approx_eq(    &self,     other: &Self,     epsilon: <F as ApproxEq>::Flt,     ulps: <<F as ApproxEq>::Flt as Ulps>::U) -> bool`[src]

This method tests for `self` and `other` values to be approximately equal using two methods: epsilon and ulps. If the values differ by less than the given epsilon, they will be considered equal. If the values differ by more than epsilon, but by less than the given ulps, they will also be considered equal. Otherwise they are unequal. Read more

`fn approx_ne(    &self,     other: &Self,     epsilon: Self::Flt,     ulps: <Self::Flt as Ulps>::U) -> bool`[src]

This method tests for `self` and `other` values to be not approximately equal using two methods: epsilon and ulps. If the values differ by less than the given epsilon, they will be considered equal. If the values differ by more than epsilon, but by less than the given ulps, they will also be considered equal. Otherwise they are unequal. Read more