[INFO] fetching crate moon-engine 0.1.0... [INFO] documenting moon-engine-0.1.0 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate moon-engine 0.1.0 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate moon-engine 0.1.0 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate moon-engine 0.1.0 [INFO] finished tweaking crates.io crate moon-engine 0.1.0 [INFO] tweaked toml for crates.io crate moon-engine 0.1.0 written to /workspace/builds/worker-21/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf3690bceda74b2dcaffcb4ed31ddb1afde5970c11e2bcb4c7debf6abf2df12 [INFO] running `Command { std: "docker" "start" "-a" "ebf3690bceda74b2dcaffcb4ed31ddb1afde5970c11e2bcb4c7debf6abf2df12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf3690bceda74b2dcaffcb4ed31ddb1afde5970c11e2bcb4c7debf6abf2df12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf3690bceda74b2dcaffcb4ed31ddb1afde5970c11e2bcb4c7debf6abf2df12", kill_on_drop: false }` [INFO] [stdout] ebf3690bceda74b2dcaffcb4ed31ddb1afde5970c11e2bcb4c7debf6abf2df12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4ff3644ab07668468123ac90fb3a85e1a0fbcc1f1573eb0498c9455df1065b4 [INFO] running `Command { std: "docker" "start" "-a" "e4ff3644ab07668468123ac90fb3a85e1a0fbcc1f1573eb0498c9455df1065b4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking js-sys v0.3.57 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking web-sys v0.3.57 [INFO] [stderr] Documenting moon-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unresolved link to `Matrix4` [INFO] [stdout] --> src/transform.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | /// Get a clone of the [`Matrix4`]. [INFO] [stdout] | ^^^^^^^ no item named `Matrix4` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `Matrix4` [INFO] [stdout] --> src/transform.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | /// Get the [`Matrix4`] representing the transform as a slice of [`f32`] to use with WebGL. [INFO] [stdout] | ^^^^^^^ no item named `Matrix4` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.37s [INFO] running `Command { std: "docker" "inspect" "e4ff3644ab07668468123ac90fb3a85e1a0fbcc1f1573eb0498c9455df1065b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4ff3644ab07668468123ac90fb3a85e1a0fbcc1f1573eb0498c9455df1065b4", kill_on_drop: false }` [INFO] [stdout] e4ff3644ab07668468123ac90fb3a85e1a0fbcc1f1573eb0498c9455df1065b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] f504c771c2330bef60a890169e9fb6723e053fc013890463e113d4ce7b124d61 [INFO] running `Command { std: "docker" "start" "-a" "f504c771c2330bef60a890169e9fb6723e053fc013890463e113d4ce7b124d61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking wide v0.7.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.1 [INFO] [stderr] Checking simba v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Checking js-sys v0.3.57 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking web-sys v0.3.57 [INFO] [stderr] Documenting moon-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | //! Moon Engine [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(rustdoc::missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The [`Camera`] struct. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | /// A [`Camera`] represents a Virtual Camera, that has a view and Orthographic projection matrices [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / impl Camera { [INFO] [stdout] 42 | | /// Create a new `Camera` with default values. [INFO] [stdout] 43 | | pub fn new() -> Self { [INFO] [stdout] 44 | | Default::default() [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] 102 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | /// Create a new `Camera` with default values. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | /// Create a new `Camera` with an initial position. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | /// Create a new `Camera` with an initial transform. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | /// Create a new `Camera` with an initial width and height. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | /// Set the width and height of the camera plane, and update the Projection Matrix to match. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | /// Return the Projection Matrix of the `Camera` as a slice of `f32` so it can be used by WebGL. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | /// Return the calculated and combined view-projection matrix as a [`Mat4`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/camera.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / /// Get a position in screen co-ordinates to a range within the world. [INFO] [stdout] 94 | | /// [INFO] [stdout] 95 | | /// This works by first converting it into a `-1.0 to 1.0` range, and then multiplying its components by the [`FIXED_WIDTH`] and [`FIXED_HEIGHT`]. [INFO] [stdout] | |______________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Definition of the [`Collider`] and [`Collide`] traits, as well as simple Colliders. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | /// The `Collider` trait is implemented by different Colliders. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | /// Get the bounding box of a Collider as an `AABB`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | /// Get the center of the Collider as a `Point`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | /// The `Collide` trait is used to define collisions between two [Colliders](Collider). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | /// An Axis-Aligned Bounding Box (AABB). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | / impl AABB { [INFO] [stdout] 56 | | /// Creates a new [`AABB`] with a size of 1 unit, centered at a given co-ordinates. [INFO] [stdout] 57 | | pub fn new_position(x: f32, y: f32) -> Self { [INFO] [stdout] 58 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | /// Creates a new [`AABB`] with a size of 1 unit, centered at a given co-ordinates. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | /// Creates a new [`AABB`] with a given width and height, centered at the origin (0, 0). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | /// Creates a new [`AABB`] with a given width and height, centered at the given co-ordinates. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | /// A Cicle Collider. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Circle { [INFO] [stdout] 94 | | /// Creates a new [`Circle`] with a radius of 0.5 unit, centered at the given co-ordinates. [INFO] [stdout] 95 | | pub fn new_position(x: f32, y: f32) -> Self { [INFO] [stdout] 96 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 114 | | } [INFO] [stdout] 115 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | /// Creates a new [`Circle`] with a radius of 0.5 unit, centered at the given co-ordinates. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | /// Creates a new [`Circle`] with a given radius, centered at the origin (0, 0). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/collider.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | /// Creates a new [`Circle`] with a given radius, centered at the given co-ordinates. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The [`Component`] trait. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | /// The [`Component`] trait [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | /// Initializes a [`Component`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/component.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / /// Called once each frame. [INFO] [stdout] 8 | | /// [INFO] [stdout] 9 | | /// The time between frames is also provided. [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gl.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! A collection of functions and traits related to [`WebGl2RenderingContext`], as well as the [`GL`] alias. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gl.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / /// The [`Bind`] trait enables setting up WebGl state when bound, and optionally resetting to a neutral one when unbound. [INFO] [stdout] 19 | | /// [INFO] [stdout] 20 | | /// These functons should be implented **without** mutating the implementing struct, i.e. just changing the state of the [`WebGl2RenderingContext`]. [INFO] [stdout] | |____________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gl.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | /// Binds a struct implementing the [`Bind`] trait. This is up to the implementation to decide. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/gl.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | /// Optionally unbinds a struct implementing the [`Bind`] trait. This effectively resets the WebGL state. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/input.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The [`InputManager`] struct. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/input.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / impl InputManager { [INFO] [stdout] 34 | | /// Default [`InputManager`] instance. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// Creates a new [`InputManager`] with default keyboard and mouse input states. [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/input.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Default [`InputManager`] instance. [INFO] [stdout] 35 | | /// [INFO] [stdout] 36 | | /// Creates a new [`InputManager`] with default keyboard and mouse input states. [INFO] [stdout] | |____________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/input.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// Key Down State. [INFO] [stdout] 42 | | /// [INFO] [stdout] 43 | | /// Sets the key in the [`BTreeSet`]. [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/input.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / /// Key Up State. [INFO] [stdout] 49 | | /// [INFO] [stdout] 50 | | /// Resets the key in the [`BTreeSet`]. [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/input.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / /// Get the state of a key as a [`bool`]. [INFO] [stdout] 56 | | /// [INFO] [stdout] 57 | | /// Returns true if the key is currently pressed, or false. [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/input.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | /// Set the mouse position. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! Math related functionality, and aliases to [`nalgebra`] structs. [INFO] [stdout] 2 | | //! [INFO] [stdout] 3 | | //! Also includes the [`Color32`] and [`Color8`] structs. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / impl Color32 { [INFO] [stdout] 61 | | /// Get the Red component of the [`Color32`]. [INFO] [stdout] 62 | | /// [INFO] [stdout] 63 | | /// This is the same as the X component. [INFO] [stdout] ... | [INFO] [stdout] 117 | | pub const ZEROES: Color32 = Color32(0.0, 0.0, 0.0, 0.0); [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / /// Get the Red component of the [`Color32`]. [INFO] [stdout] 62 | | /// [INFO] [stdout] 63 | | /// This is the same as the X component. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / /// Get the X component of the [`Color32`]. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// This is the same as the Red component. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / /// Get the Green component of the [`Color32`]. [INFO] [stdout] 74 | | /// [INFO] [stdout] 75 | | /// This is the same as the Y component. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / /// Get the Y component of the [`Color32`]. [INFO] [stdout] 80 | | /// [INFO] [stdout] 81 | | /// This is the same as the Green component. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / /// Get the Blue component of the [`Color32`]. [INFO] [stdout] 86 | | /// [INFO] [stdout] 87 | | /// This is the same as the Z component. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / /// Get the Z component of the [`Color32`]. [INFO] [stdout] 92 | | /// [INFO] [stdout] 93 | | /// This is the same as the Blue component. [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | / /// Get the Alpha component of the [`Color32`]. [INFO] [stdout] 98 | | /// [INFO] [stdout] 99 | | /// This is the same as the W component. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / /// Get the W component of the [`Color32`]. [INFO] [stdout] 104 | | /// [INFO] [stdout] 105 | | /// This is the same as the Alpha component. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:182:1 [INFO] [stdout] | [INFO] [stdout] 182 | / impl Color8 { [INFO] [stdout] 183 | | /// Get the Red component of the [`Color8`]. [INFO] [stdout] 184 | | /// [INFO] [stdout] 185 | | /// This is the same as the X component. [INFO] [stdout] ... | [INFO] [stdout] 230 | | } [INFO] [stdout] 231 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | / /// Get the Red component of the [`Color8`]. [INFO] [stdout] 184 | | /// [INFO] [stdout] 185 | | /// This is the same as the X component. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / /// Get the X component of the [`Color8`]. [INFO] [stdout] 190 | | /// [INFO] [stdout] 191 | | /// This is the same as the Red component. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / /// Get the Green component of the [`Color8`]. [INFO] [stdout] 196 | | /// [INFO] [stdout] 197 | | /// This is the same as the Y component. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / /// Get the Y component of the [`Color8`]. [INFO] [stdout] 202 | | /// [INFO] [stdout] 203 | | /// This is the same as the Green component. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | / /// Get the Blue component of the [`Color8`]. [INFO] [stdout] 208 | | /// [INFO] [stdout] 209 | | /// This is the same as the Z component. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / /// Get the Z component of the [`Color8`]. [INFO] [stdout] 214 | | /// [INFO] [stdout] 215 | | /// This is the same as the Blue component. [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | / /// Get the Alpha component of the [`Color8`]. [INFO] [stdout] 220 | | /// [INFO] [stdout] 221 | | /// This is the same as the W component. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | / /// Get the W component of the [`Color8`]. [INFO] [stdout] 226 | | /// [INFO] [stdout] 227 | | /// This is the same as the Alpha component. [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:263:1 [INFO] [stdout] | [INFO] [stdout] 263 | /// Trait for generating random values [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | /// Get a random value. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/math.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | /// Get a random value, expanded to another range. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/mesh.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The definitions of [`Vertex`], [`Mesh`] and their implementations. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/mesh.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// The `Vertex` struct holds the data that will be later sent to WebGL in a `GL::ARRAY_BUFFER`. [INFO] [stdout] 8 | | /// It consists of position and color vectors, and UV co-ordinates. [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/mesh.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | /// An indiced [`Mesh`], stored along with it's vertex array, index array and vertex buffer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/mesh.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / impl Mesh { [INFO] [stdout] 71 | | /// Create a new [`Mesh`] with the given [`vertices`](Vertex) and indices. [INFO] [stdout] 72 | | pub fn new(gl: &GL, vertices: Vec, indices: Vec) -> Self { [INFO] [stdout] 73 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 151 | | } [INFO] [stdout] 152 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/mesh.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | /// Create a new [`Mesh`] with the given [`vertices`](Vertex) and indices. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/mesh.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | /// Create a new Quad mesh with a side length of 1m [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/mesh.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | /// Create a new Quad mesh with a given side length [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/mesh.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | /// Set up the vertex (vbo) and index (ibo) `WebGlBuffer` and send their data to the GPU. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/particle.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The [`Particle`] and [`ParticleSystem`] structs. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/particle.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / /// A [`ParticleProps`] defines how [`Particles`](Particle) are created. [INFO] [stdout] 11 | | /// [INFO] [stdout] 12 | | /// Reusing a [`ParticleProps`] allows for similar [`Particles`](Particle) to be emitted. [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/particle.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | /// A [`Particle`] describes a single emission from a [`ParticleSystem`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/particle.rs:105:1 [INFO] [stdout] | [INFO] [stdout] 105 | /// A [`ParticleSystem`] deals with the emission, and creation of [`Particles`](Particle). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/particle.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | / impl ParticleSystem { [INFO] [stdout] 137 | | /// Emit a single [`Particle`], according to the defined [`ParticleProps`] for emission. [INFO] [stdout] 138 | | pub fn emit(&mut self) { [INFO] [stdout] 139 | | if self.index == MAX_PARTICLES { [INFO] [stdout] ... | [INFO] [stdout] 157 | | } [INFO] [stdout] 158 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/particle.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | /// Emit a single [`Particle`], according to the defined [`ParticleProps`] for emission. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The [`Renderer`] annd [`Quad`] structs. Used for rendering. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | /// The [`Renderer`] is responsible for drawing on the screen. It handles the [`Camera`] and [`Shader`]s. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | /// A [`Quad`] is a simple mesh definition with four [`Vertices`](Vertex). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | / impl Quad { [INFO] [stdout] 94 | | /// Create a new [`Quad`] from a given position and size. [INFO] [stdout] 95 | | pub fn new_from_position_and_size(pos_x: f32, pos_y: f32, size_x: f32, size_y: f32) -> Self { [INFO] [stdout] 96 | | let size_x = size_x / 2.0; [INFO] [stdout] ... | [INFO] [stdout] 181 | | } [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | /// Create a new [`Quad`] from a given position and size. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | /// Create a new [`Quad`] from a given position, size, and a reference to a [`SubTexture`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | /// Create a new [`Quad`] using a given [`Transform`] for its position and scale. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | /// Create a new [`Quad`] using a given [`Transform`] for its position and scale, and a reference to [`SubTexture`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | /// Get the [`Vertices`](Vertex) of the [`Quad`] as a [`Vec`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / impl Renderer { [INFO] [stdout] 185 | | /// Create a new [`Renderer`] with a given [`Camera`]. [INFO] [stdout] 186 | | pub fn new_with_camera(camera: Camera) -> Self { [INFO] [stdout] 187 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 386 | | } [INFO] [stdout] 387 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | /// Create a new [`Renderer`] with a given [`Camera`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | /// Create a new [`Renderer`] with a given [`Camera`] and [`Shader`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | /// Set the [`Camera`] that the [`Renderer`] will use. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | /// Set the [`Shader`] that the [`Renderer`] will use. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | /// Handle screen resizes. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | /// Initialise the uniforms for the current [`Shader`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / /// Add a [`Texture`] to the [`Renderer`]. [INFO] [stdout] 264 | | /// [INFO] [stdout] 265 | | /// The renderer stores [`Texture`]s that can be retreived later, via a string slice. [INFO] [stdout] | |_________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / /// Use the requested [`Texture`]. [INFO] [stdout] 271 | | /// [INFO] [stdout] 272 | | /// Sets the currently bound [`Texture`] to the one that matches the key. If no such texture is found, a default MAGENTA one is found. [INFO] [stdout] | |__________________________________________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | /// Get the requested [`Texture`], or MAGENTA if none is found. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | /// Clear the batch queue and start a new batch. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | /// Add a [`Quad`] to the batching queue. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | / /// Begin a new layer. [INFO] [stdout] 329 | | /// [INFO] [stdout] 330 | | /// A new mesh is added to the batches and subsequent calls are made on this layer. [INFO] [stdout] | |_______________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | /// Remove the last layer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | /// Draw the current layer. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | /// Draw all batched geometry. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/renderer.rs:381:5 [INFO] [stdout] | [INFO] [stdout] 381 | /// Clear the screen with a given Color. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The [`Shader`] struct, and [`ShaderType`] enum. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | /// Type of Shader [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / /// A program that is run on the GPU. [INFO] [stdout] 20 | | /// [INFO] [stdout] 21 | | /// A [Shader] contains a [`Program`](WebGlProgram), that can be bound and run on the GPU using [WebGL](GL). [INFO] [stdout] | |____________________________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / impl Shader { [INFO] [stdout] 59 | | /// Create a new Shader Program with default Vertex and Fragment shaders. [INFO] [stdout] 60 | | pub fn new(gl: &GL) -> Self { [INFO] [stdout] 61 | | let name = "Default Shader"; [INFO] [stdout] ... | [INFO] [stdout] 170 | | } [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | /// Create a new Shader Program with default Vertex and Fragment shaders. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | /// Create a new Shader with default Fragment Shader and a custom Vertex Shader. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | /// Create a fragment `WebGlShader`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | /// Create a vertex `WebGlShader`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | /// Create a new `WebGlShader` with a given `ShaderType`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | /// Create a new [`WebGlProgram`] with the given vertex and fragment [`shaders`](WebGlShader). [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | /// Get the location of a uniform on the `Shader`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/shader.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | /// Get the location of an attribute on the `Shader`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The [`Texture`] and [`SubTexture`] structs. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | /// A [`Texture`] stores an Image that can be used while rendering, or to store data. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Texture { [INFO] [stdout] 51 | | /// Create a new [`Texture`] using an [`HtmlImageElement`]. [INFO] [stdout] 52 | | pub fn new(gl: &GL, image: &HtmlImageElement) -> Self { [INFO] [stdout] 53 | | let (width, height) = (image.width(), image.height()); [INFO] [stdout] ... | [INFO] [stdout] 161 | | } [INFO] [stdout] 162 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | /// Create a new [`Texture`] using an [`HtmlImageElement`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | /// Create a new [`Texture`] from an [`HtmlImageElement`] with an given element ID. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | /// Create a new [`Texture`] from an [`HtmlImageElement`] with an element ID in the format **textureXX** where *XX* is a number. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | /// Create a new [`Texture`] using a slice of [`u8`]s. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | / /// A colored [`Texture`]. [INFO] [stdout] 130 | | /// [INFO] [stdout] 131 | | /// Create a single pixel sized [`Texture`] with the specified [`Color32`]. [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | /// A fully-white [`Texture`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | /// A black and white checkerboard [`Texture`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | /// A checkerboard [`Texture`] with two [`Color32`]s. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:164:1 [INFO] [stdout] | [INFO] [stdout] 164 | / /// A [`SubTexture`] is a part of a full [`Texture`]. [INFO] [stdout] 165 | | /// [INFO] [stdout] 166 | | /// It stores the UV co-ordinates of the part of the Texture it occupies. [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 184 | / impl SubTexture { [INFO] [stdout] 185 | | /// Create a new [`SubTexture`] with the full UV co-ordinates. [INFO] [stdout] 186 | | pub fn new(texture: Rc) -> Self { [INFO] [stdout] 187 | | Self { [INFO] [stdout] ... | [INFO] [stdout] 236 | | } [INFO] [stdout] 237 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | /// Create a new [`SubTexture`] with the full UV co-ordinates. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | /// Create a new [`SubTexture`] with the given UV co-ordinates. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | /// Get the UV co-ordinates as an array of four two-component [`f32`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/texture.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | / /// Create a [`Vec`] of [`SubTexture`]s from a sprite sheet. [INFO] [stdout] 214 | | /// [INFO] [stdout] 215 | | /// Uses the number of cells horizontally and vertically to devide the cells. [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The [`Transform`] ans [`Transform2D`] structs. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// A 3D representation of an entity's position, rotation and scale. [INFO] [stdout] 8 | | /// [INFO] [stdout] 9 | | /// A [`Transform`] contains [`Vec3`]s for Position, ROtation and Scale. [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / impl Transform { [INFO] [stdout] 33 | | /// Create a new [`Transform`] with default values. [INFO] [stdout] 34 | | pub fn new() -> Self { [INFO] [stdout] 35 | | Self::default() [INFO] [stdout] ... | [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | /// Create a new [`Transform`] with default values. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | /// Create a new [`Transform`] with an initial position. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | /// Get a clone of the [`Matrix4`]. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | /// Get the [`Matrix4`] representing the transform as a slice of [`f32`] to use with WebGL. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | /// Set the [`Transform`]'s position and calculate its matrix. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | /// Set the [`Transform`]'s rotation and calculate its matrix. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | /// Set the [`Transform`]'s scale and calculate its matrix. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | /// Get the position as a slice. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | /// Get the rotation as an f32. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | /// Get the scale as a slice. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/transform.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 | / /// A 2D counterpart for the [`Transform`]. [INFO] [stdout] 99 | | /// [INFO] [stdout] 100 | | /// A [`Transform2D`] contains Position and Scale [`Vec2`]s and a float for rotation. [INFO] [stdout] | |_____________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/ui.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! The User-Interface. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Utilities that make working with Rust and WASM much easier. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/utils.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// When the `console_error_panic_hook` feature is enabled, we can call the [INFO] [stdout] 4 | | /// `set_panic_hook` function at least once during initialization, and then [INFO] [stdout] 5 | | /// we will get better error messages if our code ever panics. [INFO] [stdout] 6 | | /// [INFO] [stdout] 7 | | /// For more details see [INFO] [stdout] 8 | | /// [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/web.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | //! Web related utilities and the [`Canvas`] alias to [web_sys::HtmlCanvasElement] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/web.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | /// Initialize document-level callbacks [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/web.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | /// A macro that can be used to write output to the browser [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `Matrix4` [INFO] [stdout] --> src/transform.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | /// Get a clone of the [`Matrix4`]. [INFO] [stdout] | ^^^^^^^ no item named `Matrix4` in scope [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `Matrix4` [INFO] [stdout] --> src/transform.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | /// Get the [`Matrix4`] representing the transform as a slice of [`f32`] to use with WebGL. [INFO] [stdout] | ^^^^^^^ no item named `Matrix4` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 156 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.74s [INFO] running `Command { std: "docker" "inspect" "f504c771c2330bef60a890169e9fb6723e053fc013890463e113d4ce7b124d61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f504c771c2330bef60a890169e9fb6723e053fc013890463e113d4ce7b124d61", kill_on_drop: false }` [INFO] [stdout] f504c771c2330bef60a890169e9fb6723e053fc013890463e113d4ce7b124d61