Debian Codegraph @

src/main.rs

raw symbols SCIP
1 /*
2 * Copyright 2024 Andrey Kutejko <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, see <http://www.gnu.org/licenses/>.
16 *
17 * For more details see the file COPYING.
18 */
19
20 use applicationrust-analyzer cargo gnome-robots 50.0.0 application/::RobotsApplicationrust-analyzer cargo gnome-robots 50.0.0 application/RobotsApplication#;
21 use configrust-analyzer cargo gnome-robots 50.0.0 config/::{GETTEXT_PACKAGE, LOCALEDIR};
22 use gtkrust-analyzer cargo gtk4 0.11.1 crate/::preluderust-analyzer cargo gtk4 0.11.1 prelude/::*;
23 use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::errorrust-analyzer cargo std https://github.com/rust-lang/rust/library/std error/::Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core error/Error#;
24 use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::processrust-analyzer cargo std https://github.com/rust-lang/rust/library/std process/::Terminationrust-analyzer cargo std https://github.com/rust-lang/rust/library/std process/Termination#;
25
26 mod animationrust-analyzer cargo gnome-robots 50.0.0 animation/;
27 mod applicationrust-analyzer cargo gnome-robots 50.0.0 application/;
28 mod arenarust-analyzer cargo gnome-robots 50.0.0 arena/;
29 mod assetsrust-analyzer cargo gnome-robots 50.0.0 assets/;
30 mod bubblerust-analyzer cargo gnome-robots 50.0.0 bubble/;
31 mod configrust-analyzer cargo gnome-robots 50.0.0 config/;
32 mod controlsrust-analyzer cargo gnome-robots 50.0.0 controls/;
33 mod cursorsrust-analyzer cargo gnome-robots 50.0.0 cursors/;
34 mod gamerust-analyzer cargo gnome-robots 50.0.0 game/;
35 mod game_arearust-analyzer cargo gnome-robots 50.0.0 game_area/;
36 mod game_configrust-analyzer cargo gnome-robots 50.0.0 game_config/;
37 mod graphicsrust-analyzer cargo gnome-robots 50.0.0 graphics/;
38 mod imagerust-analyzer cargo gnome-robots 50.0.0 image/;
39 mod propertiesrust-analyzer cargo gnome-robots 50.0.0 properties/;
40 mod properties_dialogrust-analyzer cargo gnome-robots 50.0.0 properties_dialog/;
41 mod scoresrust-analyzer cargo gnome-robots 50.0.0 scores/;
42 mod slotrust-analyzer cargo gnome-robots 50.0.0 slot/;
43 mod sound_playerrust-analyzer cargo gnome-robots 50.0.0 sound_player/;
44 mod themerust-analyzer cargo gnome-robots 50.0.0 theme/;
45 mod themesrust-analyzer cargo gnome-robots 50.0.0 themes/;
46 mod utilsrust-analyzer cargo gnome-robots 50.0.0 utils/;
47 mod windowrust-analyzer cargo gnome-robots 50.0.0 window/;
48 mod window_sizerust-analyzer cargo gnome-robots 50.0.0 window_size/;
49
50 fn mainrust-analyzer cargo gnome-robots 50.0.0 main().() -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<impl Terminationrust-analyzer cargo std https://github.com/rust-lang/rust/library/std process/Termination#, Boxrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc boxed/Box#<dyn Errorrust-analyzer cargo core https://github.com/rust-lang/rust/library/core error/Error#>> {
51 gettextrsrust-analyzer cargo gettext-rs 0.7.7 crate/::setlocalerust-analyzer cargo gettext-rs 0.7.7 setlocale().(gettextrsrust-analyzer cargo gettext-rs 0.7.7 crate/::LocaleCategoryrust-analyzer cargo gettext-rs 0.7.7 LocaleCategory#::LcAllrust-analyzer cargo gettext-rs 0.7.7 LocaleCategory#LcAll#, "");
52 gettextrsrust-analyzer cargo gettext-rs 0.7.7 crate/::bindtextdomainrust-analyzer cargo gettext-rs 0.7.7 bindtextdomain().(GETTEXT_PACKAGE, LOCALEDIR)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().;
53 gettextrsrust-analyzer cargo gettext-rs 0.7.7 crate/::bind_textdomain_codesetrust-analyzer cargo gettext-rs 0.7.7 bind_textdomain_codeset().(GETTEXT_PACKAGE, "UTF-8")?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().;
54 gettextrsrust-analyzer cargo gettext-rs 0.7.7 crate/::textdomainrust-analyzer cargo gettext-rs 0.7.7 textdomain().(GETTEXT_PACKAGE)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().;
55
56 let app = RobotsApplicationrust-analyzer cargo gnome-robots 50.0.0 application/RobotsApplication#::defaultrust-analyzer cargo gnome-robots 50.0.0 application/impl#[RobotsApplication][Default]default().();
57 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(app.runrust-analyzer cargo gio 0.22.2 application/ApplicationExtManual#run().())
58 }