Skip to main content

scirs2_io/hdf5/
types.rs

1//! Auto-generated module
2//!
3//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
4
5/// Data array storage
6#[derive(Debug, Clone)]
7pub enum DataArray {
8    /// Integer data
9    Integer(Vec<i64>),
10    /// Float data
11    Float(Vec<f64>),
12    /// String data
13    String(Vec<String>),
14    /// Binary data
15    Binary(Vec<u8>),
16}
17/// Attribute value types
18#[derive(Debug, Clone)]
19pub enum AttributeValue {
20    /// Integer value
21    Integer(i64),
22    /// Float value
23    Float(f64),
24    /// String value
25    String(String),
26    /// Integer array
27    IntegerArray(Vec<i64>),
28    /// Float array
29    FloatArray(Vec<f64>),
30    /// String array
31    StringArray(Vec<String>),
32    /// Boolean value
33    Boolean(bool),
34    /// Generic array (alias for IntegerArray for compatibility)
35    Array(Vec<i64>),
36}