On Tue, Oct 23, 2012 at 3:24 PM, Tim Taubert <[email protected]> wrote:
> struct Storage {
>   ...
> }
>
> impl Storage {
>   fn listen() {
>     ...
>   }
> }

Thanks.

Is there a way to scope constants under the namespace of a struct?

-- 
Henri Sivonen
[email protected]
http://hsivonen.iki.fi/
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to