use bm_le::MaxVec; use bm_le_derive::{FromTree, IntoTree}; use generic_array::{GenericArray, ArrayLength}; pub trait Config { type D: ArrayLength; type E: ArrayLength; } #[derive(IntoTree, FromTree)] pub struct Container { a: u32, b: u64, c: u128, d: GenericArray, e: MaxVec, } #[derive(IntoTree, FromTree)] pub enum EnumTest { A(u128), B { c: u64, d: u32, }, E, }