Tour of Rust Table of Contents

Structure Visibility

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