pub trait AsRefMatrixParts<T: MatrixScalar, const C: usize, const R: usize> {
// Required method
fn as_ref_parts(&self) -> &[[T; R]; C];
}
Expand description
Enables reading from the matrix (via &[[T; R]; C]
)
Required Methods§
fn as_ref_parts(&self) -> &[[T; R]; C]
Implementations on Foreign Types§
Source§impl AsRefMatrixParts<f32, 2, 2> for Mat2
Available on crate feature glam
only.
impl AsRefMatrixParts<f32, 2, 2> for Mat2
Available on crate feature
glam
only.Source§impl AsRefMatrixParts<f32, 3, 3> for Mat3
Available on crate feature glam
only.
impl AsRefMatrixParts<f32, 3, 3> for Mat3
Available on crate feature
glam
only.Source§impl AsRefMatrixParts<f32, 4, 4> for Mat4
Available on crate feature glam
only.
impl AsRefMatrixParts<f32, 4, 4> for Mat4
Available on crate feature
glam
only.