Struct nalgebra::base::coordinates::XYZW[][src]

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

Data structure used to provide access to matrix and vector coordinates with the dot notation, e.g., v.x is the same as v[0] for a vector.

Fields

x: Ty: Tz: Tw: T

Trait Implementations

impl<T: Clone + Scalar> Clone for XYZW<T>[src]

impl<T: Copy + Scalar> Copy for XYZW<T>[src]

impl<T: Debug + Scalar> Debug for XYZW<T>[src]

impl<T: Eq + Scalar> Eq for XYZW<T>[src]

impl<T: Hash + Scalar> Hash for XYZW<T>[src]

impl<T: PartialEq + Scalar> PartialEq<XYZW<T>> for XYZW<T>[src]

impl<T: Scalar> StructuralEq for XYZW<T>[src]

impl<T: Scalar> StructuralPartialEq for XYZW<T>[src]

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for XYZW<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[src]

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

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>,