Struct nalgebra::base::coordinates::XYZW [−][src]
#[repr(C)]pub struct XYZW<N: Scalar> { pub x: N, pub y: N, pub z: N, pub w: 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: N
y: N
z: N
w: N
Trait Implementations
impl<'de, N: Scalar> Deserialize<'de> for XYZW<N> where
N: Deserialize<'de>,
[src]
impl<'de, N: Scalar> Deserialize<'de> for XYZW<N> where
N: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<N: Copy + Scalar> Copy for XYZW<N>
[src]
impl<N: Eq + Scalar> Eq for XYZW<N>
[src]
impl<N: Scalar> StructuralEq for XYZW<N>
[src]
impl<N: Scalar> StructuralPartialEq for XYZW<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for XYZW<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for XYZW<N> where
N: Send,
N: Send,
impl<N> Sync for XYZW<N> where
N: Sync,
N: Sync,
impl<N> Unpin for XYZW<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for XYZW<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,