Closed lukesneeringer closed 3 years ago
I can not for the life of me figure out how to do this, and I have read a decent amount of the source code and tests.
I think it should be:
use hdf5; use hdf5::types::FixedAscii; #[derive(Clone, Debug, hdf5::H5Type, PartialEq)] #[repr(C)] struct Foo { bar: FixedAscii<10>, }
This gives a compiler error: constant provided when a type was expected.
constant provided when a type was expected
It would be really nice to have an example.
I figured this out. It turns out the main branch has diverged significantly from the previous release, and my code is correct there.
It would be awesome if this could be released. :)
Closed in #179
I can not for the life of me figure out how to do this, and I have read a decent amount of the source code and tests.
I think it should be:
This gives a compiler error:
constant provided when a type was expected
.It would be really nice to have an example.