Struct indigo::math::Vector3[][src]

#[repr(C)]pub struct Vector3<T> {
    pub x: T,
    pub y: T,
    pub z: T,
}

A three-dimensional vector.

Fields

x: Ty: Tz: T

Implementations

impl<T: Number> Vector3<T>[src]

pub fn new(x: T, y: T, z: T) -> Self[src]

Trait Implementations

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

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

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

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

impl From<Vector3<u16>> for Vector3<f32>[src]

impl<T: Number> Index<usize> for Vector3<T>[src]

type Output = T

The returned type after indexing.

impl<T: Number> Mul<Vector3<T>> for Vector3<T>[src]

type Output = T

The resulting type after applying the * operator.

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

impl<T> StructuralEq for Vector3<T>[src]

impl<T> StructuralPartialEq for Vector3<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Vector3<T> where
    T: RefUnwindSafe

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

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

impl<T> Unpin for Vector3<T> where
    T: Unpin

impl<T> UnwindSafe for Vector3<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,