Crates.io | oxygen_quark_derive |
lib.rs | oxygen_quark_derive |
version | 0.0.2 |
source | src |
created_at | 2019-01-04 22:53:48.396429 |
updated_at | 2019-01-04 22:53:48.396429 |
description | Oxygen Quark Derive is a library for deriving traits implemented in Oxygen Quark. |
homepage | http://oxygen.avekvist.com/quark/ |
repository | https://github.com/Avekvist/oxygen-engine |
max_upload_size | |
id | 105524 |
size | 11,875 |
[dependencies]
oxygen_quark_derive = "*"
use oxygen_quark_derive::Matrix;
#[derive(Matrix)]
struct TestMatrix {
// Note, it requires that you separate the width
// and the height like this. It won't parse the
// matrix correctly otherwise. Height first,
// then width.
data: [f32; 2 * 2],
}
fn main() {...}
Have Rust setup and clone the repository. Start coding and have fun! I would recommend that you check out the list of issues to see what you could fix, and if you don't find anything interesting there, just go and check out the projects instead.
Otherwise, just issue your own bugs and features with the issue tracker. I'll be sure to check them out and tag them accordingly!
#[derive(Matrix)]
(although, it lacks some correctness here and there, help to fix this is appreciated)#[derive(Vector)]