Docs.rs
pixels-graphics-lib-0.22.1
pixels-graphics-lib 0.22.1
Docs.rs crate page
Links
Repository
crates.io
Source
Owners
emmabritton
Dependencies
buffer-graphics-lib ^0.19
normal
directories ^5.0
normal
optional
log ^0.4
normal
rustc-hash ^2.1
normal
serde ^1.0
normal
optional
simple-game-utils ^0.5
normal
softbuffer ^0.4
normal
thiserror ^2.0
normal
winit ^0.30
normal
anyhow ^1.0
dev
fastrand ^2.3
dev
Versions
16.92%
of the crate is documented
Platform
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module scenes
pixels_
graphics_
lib
0.22.1
Module scenes
Module Items
Enums
Traits
Functions
Type Aliases
In crate pixels_
graphics_
lib
pixels_graphics_lib
Module
scenes
Copy item path
Source
Enums
§
Scene
Update
Result
When a scene wants to add or remove a scene from the stack it should return
Push
or
Pop
from
Scene.update
Traits
§
PrePost
Scene
Scenes represent a mode/feature of a programs UI For example in an image editor you could have the main menu, editor, and save dialog as scenes and in an RPG you could have the field, battle and menu screens as scenes
Functions
§
empty_
pre_
post
run_
scenes
Convenience method for programs built using
Scene
s
Type Aliases
§
Scene
Switcher
Creates new scenes.