1 2 3 4 5 6 7 8 9 10 11
use former::Former; #[ derive( Debug, PartialEq, Former ) ] // #[ debug ] // Commented out - debug attribute only for temporary debugging pub struct Child<K: core::hash::Hash + core::cmp::Eq> { pub name: String, } fn main() { println!("Testing Child struct compilation"); }