Out of curiosity: why the author tends to write "self" at the end of the methods ?
someTimer.set_interval(1000).start();
instead of writing: someTimer.set_interval(1000);
someTimer.start();
[1]: https://github.com/cybergeek94/kiss-ui/blob/master/src/timer...Note that _those_ guidelines are outdated, superseded by https://github.com/rust-lang/rust/tree/master/src/doc/style and http://doc.rust-lang.org/style/
Note that we haven't linked to those publicly all that much yet, as there's so much TODO in them still.
Ahh, Rust. :)
There's a part in the book about the builder pattern: http://doc.rust-lang.org/stable/book/method-syntax.html#buil...
dialog.set_title("blah").set_size_pixels(100, 100);
(note syntax may be out - I am not a Rust expert...) chain!(dialog, set_title("blah"), set_size_piels(100, 100));dialog.set_title("blah");
dialog.set_size_piels(100, 100);
on two lines?