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