This library contains a single trait [AsStd140] which is implemented for [mint] types that can be converted to [std140] types.
Examples
use AsStd140;
let mint_vector = Vector2 ;
let std140_vector = mint_vector.as_std140;
assert_eq!;
assert_eq!;
let mint_matrix = ColumnMatrix2 ;
let std140_matrix = mint_matrix.as_std140;