macro_rules! export_obj { ($path:literal,$x:expr) => { ... }; }
Expand description
A macro to save the data into a file.
use array_object::*;
let data = vec![1f64, 2.2, -1.1, 5.6];
export_obj!("testdata.bin", data.clone());macro_rules! export_obj { ($path:literal,$x:expr) => { ... }; }
A macro to save the data into a file.
use array_object::*;
let data = vec![1f64, 2.2, -1.1, 5.6];
export_obj!("testdata.bin", data.clone());