Struct nalgebra::base::coordinates::XYZ [−][src]
#[repr(C)]pub struct XYZ<T: Scalar> { pub x: T, pub y: T, pub z: T, }
Expand description
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: T
y: T
z: T
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for XYZ<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for XYZ<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
The inverse inclusion map: attempts to construct self
from the equivalent element of its
superset. Read more
Checks if self
is actually part of its subset T
(and can be converted to it).
Use with care! Same as self.to_subset
but without any property checks. Always succeeds.
The inclusion map: converts self
to the equivalent element of its superset.
pub fn vzip(self) -> V