Struct siege_math::vector::direction::Direction3 [] [src]

#[repr(C)]
pub struct Direction3<F>(_);

Direction vector in 3-dimensions (normalized)

Methods

impl<F: FullFloat> Direction3<F>
[src]

[src]

impl<F: FullFloat> Direction3<F>
[src]

[src]

impl<F: FullFloat> Direction3<F>
[src]

[src]

impl<F: FullFloat> Direction3<F>
[src]

[src]

[src]

Methods from Deref<Target = Vec3<F>>

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl<F: Debug> Debug for Direction3<F>
[src]

[src]

Formats the value using the given formatter. Read more

impl<F: Clone> Clone for Direction3<F>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<F: Copy> Copy for Direction3<F>
[src]

impl<F: PartialEq> PartialEq for Direction3<F>
[src]

[src]

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

[src]

This method tests for !=.

impl<F: Eq> Eq for Direction3<F>
[src]

impl<F: Hash> Hash for Direction3<F>
[src]

[src]

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

1.3.0
[src]

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

impl<F: FullFloat> Deref for Direction3<F>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl<F: FullFloat> Neg for Direction3<F>
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl<F: FullFloat> ApproxEq for Direction3<F>
[src]

[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

[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

Auto Trait Implementations

impl<F> Send for Direction3<F> where
    F: Send

impl<F> Sync for Direction3<F> where
    F: Sync