EN | DE

Stage 10.12: struct Visibility

Just like functions, structures can declare what they want exposed outside of their module using pub.

This is a similar defensive approach as with immutable variables by default.

Further information: