rusty_engine 7.0.0

Learn Rust with a simple, cross-platform, 2D game engine.
Documentation
Build #2882513 2026-02-08 21:20:39

# rustc version rustc 1.95.0-nightly (c7f5f3e0d 2026-02-07)

# docs.rs version docsrs 0.0.0 (e6b9bb9a 2026-02-06 )

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/rusty_engine-7.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/rusty_engine-7.0.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260207-1.95.0-nightly-c7f5f3e0d\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fedf9af185a36784b37689a5b7457b0fda36205d55b57291a347173d965d82b0 [INFO] running `Command { std: "docker" "start" "-a" "fedf9af185a36784b37689a5b7457b0fda36205d55b57291a347173d965d82b0", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: car_shoot, collider, collision, extreme_drivers_ed, game_state, keyboard_events, keyboard_state, layer, level_creator, mouse_events, mouse_state, music, music_sampler, placement, road_race, sfx, sfx_sampler, sound, sprite, text, window [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting rusty_engine v7.0.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `Sprite.collision` [INFO] [stderr] --> src/game.rs:59:51 [INFO] [stderr] | [INFO] [stderr] 59 | /// between sprites, both sprites must have [`Sprite.collision`] set to `true` and both sprites [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no item named `Sprite.collision` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/audio.rs:78:28 [INFO] [stderr] | [INFO] [stderr] 78 | /// through the [`Engine`](crate::prelude::Engine) struct provided to your logic function [INFO] [stderr] | -------- ^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 78 - /// through the [`Engine`](crate::prelude::Engine) struct provided to your logic function [INFO] [stderr] 78 + /// through the [`Engine`] struct provided to your logic function [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/game.rs:80:30 [INFO] [stderr] | [INFO] [stderr] 80 | /// specific [`KeyCode`](crate::prelude::KeyCode)s. [INFO] [stderr] | --------- ^^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 80 - /// specific [`KeyCode`](crate::prelude::KeyCode)s. [INFO] [stderr] 80 + /// specific [`KeyCode`]s. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/game.rs:90:32 [INFO] [stderr] | [INFO] [stderr] 90 | /// for use with [`Timer`](crate::prelude::Timer)s [INFO] [stderr] | ------- ^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 90 - /// for use with [`Timer`](crate::prelude::Timer)s [INFO] [stderr] 90 + /// for use with [`Timer`]s [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/mouse.rs:103:26 [INFO] [stderr] | [INFO] [stderr] 103 | /// fields on [`Engine`](crate::prelude::Engine). [INFO] [stderr] | -------- ^^^^^^^^^^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 103 - /// fields on [`Engine`](crate::prelude::Engine). [INFO] [stderr] 103 + /// fields on [`Engine`]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this URL is not a hyperlink [INFO] [stderr] --> src/physics.rs:230:66 [INFO] [stderr] | [INFO] [stderr] 230 | ...on https://stackoverflow.com/questions/471962/how-do-i-efficiently-determine-if-a-polygon-is-convex-non-convex-or-complex?answertab=votes#tab-top [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: bare URLs are not automatically turned into clickable links [INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` on by default [INFO] [stderr] help: use an automatic link instead [INFO] [stderr] | [INFO] [stderr] 230 | /// This implementation is based on Rory Daulton's answer on <https://stackoverflow.com/questions/471962/how-do-i-efficiently-determine-if-a-polygon-is-convex-non-convex-or-complex?answertab=votes#tab-top> [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: `rusty_engine` (lib doc) generated 6 warnings (run `cargo fix --lib -p rusty_engine` to apply 1 suggestion) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.76s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rusty_engine/index.html [INFO] running `Command { std: "docker" "inspect" "fedf9af185a36784b37689a5b7457b0fda36205d55b57291a347173d965d82b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fedf9af185a36784b37689a5b7457b0fda36205d55b57291a347173d965d82b0", kill_on_drop: false }` [INFO] [stdout] fedf9af185a36784b37689a5b7457b0fda36205d55b57291a347173d965d82b0