Struct na::base::coordinates::XYZWA [−][src]
#[repr(C)]pub struct XYZWA<N> where
N: Scalar, { pub x: N, pub y: N, pub z: N, pub w: N, pub a: 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
a: N
Trait Implementations
impl<'de, N> Deserialize<'de> for XYZWA<N> where
N: Scalar + Deserialize<'de>,
[src]
impl<'de, N> Deserialize<'de> for XYZWA<N> where
N: Scalar + Deserialize<'de>,
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<XYZWA<N>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<XYZWA<N>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<N> Serialize for XYZWA<N> where
N: Scalar + Serialize,
[src]
impl<N> Serialize for XYZWA<N> where
N: Scalar + Serialize,
[src]pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl<N> Copy for XYZWA<N> where
N: Copy + Scalar,
[src]
N: Copy + Scalar,
impl<N> Eq for XYZWA<N> where
N: Eq + Scalar,
[src]
N: Eq + Scalar,
impl<N> StructuralEq for XYZWA<N> where
N: Scalar,
[src]
N: Scalar,
impl<N> StructuralPartialEq for XYZWA<N> where
N: Scalar,
[src]
N: Scalar,
Auto Trait Implementations
impl<N> RefUnwindSafe for XYZWA<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for XYZWA<N> where
N: Send,
N: Send,
impl<N> Sync for XYZWA<N> where
N: Sync,
N: Sync,
impl<N> Unpin for XYZWA<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for XYZWA<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>,