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

#[repr(C)]pub struct XYZ<N: Scalar> {
    pub x: N,
    pub y: N,
    pub z: N,
}

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: Ny: Nz: N

Trait Implementations

impl<N: Clone + Scalar> Clone for XYZ<N>[src]

impl<N: Copy + Scalar> Copy for XYZ<N>[src]

impl<N: Debug + Scalar> Debug for XYZ<N>[src]

impl<N: Eq + Scalar> Eq for XYZ<N>[src]

impl<N: Hash + Scalar> Hash for XYZ<N>[src]

impl<N: PartialEq + Scalar> PartialEq<XYZ<N>> for XYZ<N>[src]

impl<N: Scalar> StructuralEq for XYZ<N>[src]

impl<N: Scalar> StructuralPartialEq for XYZ<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for XYZ<N> where
    N: RefUnwindSafe

impl<N> Send for XYZ<N> where
    N: Send

impl<N> Sync for XYZ<N> where
    N: Sync

impl<N> Unpin for XYZ<N> where
    N: Unpin

impl<N> UnwindSafe for XYZ<N> where
    N: 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.