Struct coord::vec1::Vec1[][src]

pub struct Vec1<T: VecItem> {
    pub x: T,
}

Fields

Methods

impl<T: VecItem> Vec1<T>
[src]

Trait Implementations

impl<T: Copy + VecItem> Copy for Vec1<T>
[src]

impl<T: Clone + VecItem> Clone for Vec1<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug + VecItem> Debug for Vec1<T>
[src]

Formats the value using the given formatter. Read more

impl<T: VecItem> Vec for Vec1<T>
[src]

impl<T: VecItem> From<T> for Vec1<T>
[src]

Performs the conversion.

impl<T: VecItem> From<[T; 1]> for Vec1<T>
[src]

Performs the conversion.

impl<T> Add for Vec1<T> where
    T: VecItem + Add,
    T::Output: VecItem + Add
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl<T> Sub for Vec1<T> where
    T: VecItem + Sub,
    T::Output: VecItem + Sub
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<T> Mul for Vec1<T> where
    T: VecItem + Mul,
    T::Output: VecItem + Mul
[src]

The resulting type after applying the * operator.

Performs the * operation.

impl<T> Div for Vec1<T> where
    T: VecItem + Div,
    T::Output: VecItem + Div
[src]

The resulting type after applying the / operator.

Performs the / operation.

impl<T> AddAssign for Vec1<T> where
    T: VecItem + Add<Output = T>, 
[src]

Performs the += operation.

impl<T> SubAssign for Vec1<T> where
    T: VecItem + Sub<Output = T>, 
[src]

Performs the -= operation.

impl<T> MulAssign for Vec1<T> where
    T: VecItem + Mul<Output = T>, 
[src]

Performs the *= operation.

impl<T> DivAssign for Vec1<T> where
    T: VecItem + Div<Output = T>, 
[src]

Performs the /= operation.

impl<T> VecNum for Vec1<T> where
    T: VecItem + Num
[src]

impl<T> VecSigned for Vec1<T> where
    T: VecItem + Signed
[src]

impl<T> VecFloat for Vec1<T> where
    T: VecItem + Float
[src]

Auto Trait Implementations

impl<T> Send for Vec1<T> where
    T: Send

impl<T> Sync for Vec1<T> where
    T: Sync