Docs.rs
  • teenygame-0.5.0
    • teenygame 0.5.0
    • Permalink
    • Docs.rs crate page
    • LGPL-3.0-or-later
    • Links
    • crates.io
    • Source
    • Owners
    • coevolutions
    • Dependencies
      • bytemuck ^1.19.0 normal
      • canvasette ^0.15.0 normal
      • futures ^0.3.30 normal
      • glam ^0.29.0 normal
      • image ^0.25.2 normal optional
      • imgref ^1.11.0 normal
      • kira ^0.9.5 normal optional
      • log ^0.4 normal
      • rgb ^0.8.50 normal
      • serde ^1 normal
      • teenygame-macro ^0.1.0 normal
      • thiserror ^1 normal
      • url ^2.5.3 normal
      • wginit ^0.6.2 normal
      • wgpu ^23.0.1 normal
      • winit ^0.30 normal
      • env_logger ^0.11 normal
      • smol ^2.0.2 normal optional
      • tokio ^1 normal optional
      • console_error_panic_hook ^0.1.6 normal
      • gloo-net ^0.6 normal
      • wasm-bindgen ^0.2.84 normal
      • wasm-bindgen-futures ^0.4.43 normal
      • wasm-logger ^0.2.0 normal
      • web-sys ^0.3 normal
      • web-time ^1.1.0 normal
      • wasm-bindgen-test ^0.3.34 dev
    • Versions
    • 99.01% of the crate is documented
  • Platform
    • i686-pc-windows-msvc
    • wasm32-unknown-unknown
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

teenygame0.5.0

Crate Items

  • Structs
  • Enums
  • Constants
  • Traits
  • Functions
  • Type Aliases
  • Attribute Macros

List of all items

Structs

  • Context
  • audio::Audio
  • audio::PlaybackHandle
  • audio::Region
  • audio::Sound
  • audio::Source
  • graphics::Canvas
  • graphics::Framebuffer
  • graphics::Graphics
  • graphics::Lazy
  • graphics::PreparedText
  • graphics::Texture
  • graphics::TextureSlice
  • graphics::Window
  • graphics::font::Attrs
  • graphics::font::Metrics
  • graphics::font::Weight
  • image::Img
  • input::Contact
  • input::InputState
  • input::Keyboard
  • input::Mouse
  • input::Touch
  • time::Instant
  • time::SystemTime
  • time::SystemTimeError

Enums

  • audio::FromFileError
  • file::Error
  • graphics::font::Family
  • graphics::font::Stretch
  • graphics::font::Style
  • input::KeyCode
  • input::MouseButton

Traits

  • Game
  • graphics::Drawable
  • graphics::LazyLoadable
  • image::AsImgRef

Attribute Macros

  • game

Functions

  • file::read
  • futures::spawn
  • image::load_from_image
  • image::load_from_memory
  • math::rotate
  • math::scale
  • math::translate
  • math::uniform_scale
  • run

Type Aliases

  • graphics::Color
  • graphics::ImgRef

Constants

  • time::UNIX_EPOCH