Struct aurum_linear::Vec3 [] [src]

pub struct Vec3<T>(pub T, pub T, pub T);

Three dimensional vector structure.

Methods

impl<T> Vec3<T>
[src]

Trait Implementations

impl<T: Clone> Clone for Vec3<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Vec3<T>
[src]

impl<T: Debug> Debug for Vec3<T>
[src]

Formats the value using the given formatter.

impl<T: Default> Default for Vec3<T>
[src]

Returns the "default value" for a type. Read more

impl<T: Eq> Eq for Vec3<T>
[src]

impl<T: Hash> Hash for Vec3<T>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<T: PartialEq> PartialEq for Vec3<T>
[src]

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

This method tests for !=.

impl<S: Lerp<T>, T: Copy> Lerp<T> for Vec3<S>
[src]

impl<T: One> One for Vec3<T>
[src]

impl<T: Zero> Zero for Vec3<T>
[src]

impl<T: Neg> Neg for Vec3<T>
[src]

The resulting type after applying the - operator

The method for the unary - operator

impl<T: Not> Not for Vec3<T>
[src]

The resulting type after applying the ! operator

The method for the unary ! operator

impl<T: Mul<Output=T> + Copy> Mul<T> for Vec3<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: Div<Output=T> + Copy> Div<T> for Vec3<T>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<T: Rem<Output=T> + Copy> Rem<T> for Vec3<T>
[src]

The resulting type after applying the % operator

The method for the % operator

impl<T: BitAnd<Output=T> + Copy> BitAnd<T> for Vec3<T>
[src]

The resulting type after applying the & operator

The method for the & operator

impl<T: BitOr<Output=T> + Copy> BitOr<T> for Vec3<T>
[src]

The resulting type after applying the | operator

The method for the | operator

impl<T: BitXor<Output=T> + Copy> BitXor<T> for Vec3<T>
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<T: Add<Output=T>> Add for Vec3<T>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<T: Sub<Output=T>> Sub for Vec3<T>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<T: Mul<Output=T>> Mul for Vec3<T>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<T: Div<Output=T>> Div for Vec3<T>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<T: Rem<Output=T>> Rem for Vec3<T>
[src]

The resulting type after applying the % operator

The method for the % operator

impl<T: BitAnd<Output=T>> BitAnd for Vec3<T>
[src]

The resulting type after applying the & operator

The method for the & operator

impl<T: BitOr<Output=T>> BitOr for Vec3<T>
[src]

The resulting type after applying the | operator

The method for the | operator

impl<T: BitXor<Output=T>> BitXor for Vec3<T>
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<T: TryAdd<Output=T>> TryAdd for Vec3<T>
[src]

impl<T: TrySub<Output=T>> TrySub for Vec3<T>
[src]

impl<T: TryMul<Output=T>> TryMul for Vec3<T>
[src]

impl<T: TryDiv<Output=T>> TryDiv for Vec3<T>
[src]

impl<R: Copy, T: Shl<R, Output=T>> Shl<R> for Vec3<T>
[src]

The resulting type after applying the << operator

The method for the << operator

impl<R: Copy, T: Shr<R, Output=T>> Shr<R> for Vec3<T>
[src]

The resulting type after applying the >> operator

The method for the >> operator