soars 0.0.1

Struct of Array for Rust
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 3.17 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.03 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kbknapp

soars

Rust Version crates.io Documentation Dependency Status

Struct of Arrays (SoA) in Rust (rs).

Example

use soars::Soa;

#[derive(Soa)]
struct Foo {
    a: u64,
    b: bool,
}

This Generates a new struct SoaFoo that is similar to:

struct SoaFoo {
    a: Vec<u64>,
    b: Vec<bool>
}

There are a number of attributes that can be applied to the struct or fields to control the generated behavior and implementation.

License

This crate is licensed under either of

at your option.

Contribution

Unless you explicitly note otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.