Files
clawhdf5/crates/clawhdf5-derive/README.md
T

522 B

rustyhdf5-derive

crates.io docs.rs

Derive macros for rustyhdf5 HDF5 traits.

Features

  • #[derive(HDF5Type)] for automatic HDF5 datatype mapping
  • Struct-to-compound-type derivation

Usage

use rustyhdf5_derive::HDF5Type;

#[derive(HDF5Type)]
struct Point {
    x: f64,
    y: f64,
    z: f64,
}

License

MIT