Struct lnkit::prelude::base::coordinates::IJKW [−][src]
#[repr(C)]pub struct IJKW<T> where
T: Scalar, { pub i: T, pub j: T, pub k: T, pub w: T, }
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
i: T
j: T
k: T
w: T
Trait Implementations
impl<'de, T> Deserialize<'de> for IJKW<T> where
T: Scalar + Deserialize<'de>,
[src]
impl<'de, T> Deserialize<'de> for IJKW<T> where
T: Scalar + Deserialize<'de>,
[src]pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IJKW<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<IJKW<T>, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl<T> Serialize for IJKW<T> where
T: Scalar + Serialize,
[src]
impl<T> Serialize for IJKW<T> where
T: 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<T> StructuralEq for IJKW<T> where
T: Scalar,
[src]
impl<T> StructuralEq for IJKW<T> where
T: Scalar,
[src]impl<T> StructuralPartialEq for IJKW<T> where
T: Scalar,
[src]
impl<T> StructuralPartialEq for IJKW<T> where
T: Scalar,
[src]Auto Trait Implementations
impl<T> RefUnwindSafe for IJKW<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for IJKW<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for IJKW<T> where
T: UnwindSafe,
impl<T> UnwindSafe for IJKW<T> where
T: UnwindSafe,
Blanket Implementations
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> FromBits<T> for T
impl<T> FromBits<T> for T
pub fn from_bits(t: T) -> T
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
impl<T, U> IntoBits<U> for T where
U: FromBits<T>,
pub fn into_bits(self) -> U
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,