Ah okay I think I need to use as_ref(), but for Matrix4 (for example) that gives me back a &[[f32;4]; 4] instead of a &[f32;16] … any tips for getting to the next step?
The Into trait is only implemented for [[f32; 4]; 4] so you can do let values: [[f32; 4]; 4] = mat.into(). I guess we could also implement it for [f32; 16].