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

#[repr(C)]pub struct XY<N: Scalar> {
    pub x: N,
    pub y: 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: N

Trait Implementations

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<N> UnwindSafe for XY<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.

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