Attribute Macro visible::StructFields [−][src]
#[StructFields]
Overrides the visibility of the annotated struct fields with the one given to this attribute:
Example
#[visible::StructFields(pub(crate))] pub struct Test { pub a: i32, pub b: i64, }