You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All structs have fields as pub or pub(crate) because callers create instances using struct literal syntax, i.e. s = A { b: 3, c: 4 };
I’d like to make some fields private and instantiate with A::new().