![]() ![]() It is broad in scope, and has its mental model you need to grasp in order to use the library. Meanwhile actix crate docs seem overwhelming. I hope it may be useful for somebody, feedback, code review and suggestions are welcome.Īctix team is focusing mostly on actix-web nowadays, their website has next to none actor documentation. ![]() Sleep(Duration::from_millis(500)) // do some work in parent thread Let margin = i32::from(self.crosshair_size) Ĭt_position(WindowPosition::Mouse) Let icon: Image = builder.get_object("crosshair_icon").unwrap() Let crosshair: Window = builder.get_object("crosshair").unwrap() Let builder = Builder::new_from_string(glade_src) Let glade_src = &asset_str!("src/ui.glade") bad error messages for now, macro + manual string parsing magicĮxample GTK code that shows and hides a window: actor!.enum-based communication over MPSC channels.no external dependencies except for std.In one of my projects I had many channels sending (), so I wrote a library to quickly define thread workers / actors (the naming in this project may be a bit unfortunate, I will stick with actor) and their input enums. We'll do our best to keep these links up to date, but if we fall behind please don't hesitate to shoot us a modmail. What's Everyone Working On? (Advent of Code!).This is not an official Rust forum, and cannot fulfill feature requests. Err on the side of giving others the benefit of the doubt.Īvoid re-treading topics that have been long-settled or utterly exhausted. Please create a read-only mirror and link that instead.Ī programming language is rarely worth getting worked up over.īe charitable in intent. If criticizing a project on GitHub, you may not link directly to the project's issue tracker. Post titles should include useful context.įor Rust questions, use the stickied Q&A thread.Īrts-and-crafts posts are permitted on weekends.Ĭriticism is encouraged, though it must be constructive, useful and actionable. For content that does not, use a text post to explain its relevance. Posts must reference Rust or relate to things using Rust. We observe the Rust Project Code of Conduct. Strive to treat others with respect, patience, kindness, and empathy. Please read The Rust Community Code of Conduct The Rust Programming LanguageĪ place for all things related to the Rust programming language-an open-source systems language that emphasizes performance, reliability, and productivity. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |