simple-game-engine 0.8.3

A minimal game engine inspired by the OLC Pixel Game Engine
Documentation

Build #3864271 2026-07-15 22:32:15

# rustc version rustc 1.99.0-nightly (da80ed070 2026-07-14)

# docs.rs version docsrs 0.0.0 (964c90a45859fd8f9076e3cbe58470a5a4f4d4f7 2026-07-01 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "04ea594326e7da07afd72c63ba82ffb2bbdf63bc16dc97251b5cc5130e12863b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260714-1.99.0-nightly-da80ed070\", \"--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] Scraping simple-game-engine v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] Documenting simple-game-engine v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `canvas::Canvas::draw_text` [INFO] [stderr] --> src/lib.rs:10:140 [INFO] [stderr] | [INFO] [stderr] 10 | ...vas::draw_text`][canvas::Canvas::draw_text] method. ([see below](#caveats-with-text-rendering)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ the struct `Canvas` has no field or associated item named `draw_text` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `TextRenderer` [INFO] [stderr] --> src/canvas.rs:26:43 [INFO] [stderr] | [INFO] [stderr] 26 | /// * An [sdl2-unifont `SurfaceRenderer`][TextRenderer] for rendering text to a surface. [INFO] [stderr] | ^^^^^^^^^^^^ no item named `TextRenderer` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:17:59 [INFO] [stderr] | [INFO] [stderr] 17 | /// A [`Canvas`] that internally renders to a [`Surface`][sdl2::surface::Surface]. [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] 17 - /// A [`Canvas`] that internally renders to a [`Surface`][sdl2::surface::Surface]. [INFO] [stderr] 17 + /// A [`Canvas`] that internally renders to a [`Surface`]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:19:47 [INFO] [stderr] | [INFO] [stderr] 19 | /// A [`Canvas`] that renders to a [`Window`][Window] on the screen. [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] 19 - /// A [`Canvas`] that renders to a [`Window`][Window] on the screen. [INFO] [stderr] 19 + /// A [`Canvas`] that renders to a [`Window`] on the screen. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:27:38 [INFO] [stderr] | [INFO] [stderr] 27 | /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call an... [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] 27 - /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] 27 + /// This struct implements [`Deref`] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:27:72 [INFO] [stderr] | [INFO] [stderr] 27 | ...ref`][std::ops::Deref] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [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] 27 - /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`][std::ops::DerefMut] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] 27 + /// This struct implements [`Deref`][std::ops::Deref] and [`DerefMut`] for the sdl2 `Canvas`, so you can call any of the [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:96:66 [INFO] [stderr] | [INFO] [stderr] 96 | /// Returns an immutable reference to the [`TextureCreator`][TextureCreator] associated with this canvas. [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] 96 - /// Returns an immutable reference to the [`TextureCreator`][TextureCreator] associated with this canvas. [INFO] [stderr] 96 + /// Returns an immutable reference to the [`TextureCreator`] associated with this canvas. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/canvas.rs:101:63 [INFO] [stderr] | [INFO] [stderr] 101 | /// Returns a mutable reference to the [`TextureCreator`][TextureCreator] associated with this canvas. [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] 101 - /// Returns a mutable reference to the [`TextureCreator`][TextureCreator] associated with this canvas. [INFO] [stderr] 101 + /// Returns a mutable reference to the [`TextureCreator`] associated with this canvas. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `simple-game-engine` (lib doc) generated 8 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/simple_game_engine/index.html [INFO] running `Command { std: "docker" "inspect" "04ea594326e7da07afd72c63ba82ffb2bbdf63bc16dc97251b5cc5130e12863b", kill_on_drop: false }`