Struct nalgebra::base::coordinates::XYZ [−][src]
#[repr(C)]pub struct XYZ<N: Scalar> { pub x: N, pub y: N, pub z: N, }
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: N
y: N
z: N
Trait Implementations
Auto Trait Implementations
impl<N> RefUnwindSafe for XYZ<N> where
N: RefUnwindSafe,
impl<N> UnwindSafe for XYZ<N> where
N: 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.