Struct na::base::coordinates::M5x2 [−][src]
#[repr(C)]pub struct M5x2<N> where
N: Scalar, { pub m11: N, pub m21: N, pub m31: N, pub m41: N, pub m51: N, pub m12: N, pub m22: N, pub m32: N, pub m42: N, pub m52: 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
m11: N
m21: N
m31: N
m41: N
m51: N
m12: N
m22: N
m32: N
m42: N
m52: N
Trait Implementations
impl<'de, N> Deserialize<'de> for M5x2<N> where
N: Scalar + Deserialize<'de>,
[src]
impl<'de, N> Deserialize<'de> for M5x2<N> where
N: Scalar + Deserialize<'de>,
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<M5x2<N>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<M5x2<N>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<N> Serialize for M5x2<N> where
N: Scalar + Serialize,
[src]
impl<N> Serialize for M5x2<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 M5x2<N> where
N: Copy + Scalar,
[src]
N: Copy + Scalar,
impl<N> Eq for M5x2<N> where
N: Eq + Scalar,
[src]
N: Eq + Scalar,
impl<N> StructuralEq for M5x2<N> where
N: Scalar,
[src]
N: Scalar,
impl<N> StructuralPartialEq for M5x2<N> where
N: Scalar,
[src]
N: Scalar,
Auto Trait Implementations
impl<N> RefUnwindSafe for M5x2<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for M5x2<N> where
N: Send,
N: Send,
impl<N> Sync for M5x2<N> where
N: Sync,
N: Sync,
impl<N> Unpin for M5x2<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for M5x2<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>,