Hi everyone I was thinking: wouldn't it be useful if rust also had a "protected" visibility modifier for struct fields with the following meaning: A protected field in a structure type T is accessible wherever a private one would be as well as in any implementation of a trait for type T.
Just an idea. -- Eddy Cizeron
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
