1 2 3 4 5 6
pub struct NewType<T> { pub name: String, pub doc: Option<String>, pub ty: T, pub public: bool, }