Trait nalgebra::Shape
[−]
[src]
pub trait Shape<I>: Index<I> { fn shape(&self) -> I; }
The shape of an indexable object.
Required Methods
fn shape(&self) -> I
Returns the shape of an indexable object.
Implementors
impl<N> Shape<(usize, usize)> for DMat<N>
impl<N> Shape<usize> for DVec<N>
impl<N> Shape<usize> for DVec1<N>
impl<N> Shape<usize> for DVec2<N>
impl<N> Shape<usize> for DVec3<N>
impl<N> Shape<usize> for DVec4<N>
impl<N> Shape<usize> for DVec5<N>
impl<N> Shape<usize> for DVec6<N>
impl<N> Shape<usize> for Vec1<N>
impl<N> Shape<usize> for Vec2<N>
impl<N> Shape<usize> for Vec3<N>
impl<N> Shape<usize> for Vec4<N>
impl<N> Shape<usize> for Vec5<N>
impl<N> Shape<usize> for Vec6<N>
impl<N> Shape<usize> for Pnt1<N>
impl<N> Shape<usize> for Pnt2<N>
impl<N> Shape<usize> for Pnt3<N>
impl<N> Shape<usize> for Pnt4<N>
impl<N> Shape<usize> for Pnt5<N>
impl<N> Shape<usize> for Pnt6<N>
impl<N> Shape<usize> for Quat<N>
impl<N> Shape<(usize, usize)> for Mat1<N>
impl<N> Shape<(usize, usize)> for Mat2<N>
impl<N> Shape<(usize, usize)> for Mat3<N>
impl<N> Shape<(usize, usize)> for Mat4<N>
impl<N> Shape<(usize, usize)> for Mat5<N>
impl<N> Shape<(usize, usize)> for Mat6<N>