Docs.rs
  • hai_core-0.7.0
    • hai_core 0.7.0
    • Permalink
    • Docs.rs crate page
    • Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Icemic
    • Dependencies
      • anyhow ^1.0 normal
      • arc-swap ^1.6 normal
      • bytemuck ^1.13 normal
      • csscolorparser ^0.6 normal
      • cursor-icon ^1 normal
      • ffmpeg-rs ^5.2.1 normal optional
      • futures ^0.3 normal
      • glam ^0.27 normal
      • hai_js_runtime ^0.7 normal optional
      • hai_macros ^0.7 normal
      • hai_pal ^0.7 normal
      • hai_runtime ^0.7 normal optional
      • huozi ^0.5 normal optional
      • image ^0.25 normal
      • log ^0.4 normal
      • once_cell ^1.16 normal
      • pollster ^0.2.5 normal optional
      • serde ^1.0 normal
      • serde-wasm-bindgen ^0.4 normal optional
      • tokio ^1 normal optional
      • wasm-bindgen ^0.2.83 normal optional
      • web-sys ^0.3.56 normal optional
      • wgpu ^0.19.1 normal
      • winit ^0.29 normal
    • Versions
    • 15.13% of the crate is documented
  • Platform
    • i686-unknown-linux-gnu
    • 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

hai_core0.7.0

  • Structs
  • Enums
  • Constants
  • Statics
  • Traits
  • Functions
  • Type Aliases

List of all items

Structs

  • base::MVPMatrix
  • base::Point
  • base::SpriteVertex
  • base::SurfaceSize
  • base::Transform
  • core::Core
  • nodes::Container
  • nodes::NodeBase
  • nodes::NodeProps
  • nodes::Texture
  • nodes::VoidRenderer
  • resource::ResourceManager
  • traits::FocusablePayload
  • traits::RendererUpdatePayload
  • utils::dispatch_event::HaiEvent
  • utils::hit_test::HitTestResult

Enums

  • base::HaiCursor
  • core::HaiRedrawMode
  • nodes::TextureStatus
  • resource::TextureId
  • user_event::UserEvent
  • user_event::WindowState
  • utils::dispatch_event::HaiEventKind

Traits

  • base::VertexDesc
  • traits::Command
  • traits::Focusable
  • traits::Node
  • traits::NodeBaseTrait
  • traits::Plugin
  • traits::Renderable
  • traits::Renderer

Functions

  • core::get_core
  • core::set_core
  • create_hai_core
  • nodes::get_empty_texture
  • setup
  • surface::create_eventloop
  • surface::create_wgpu_surface
  • surface::create_window
  • utils::calculate::calculate_rect_vertices
  • utils::calculate::tint_to_vec4
  • utils::convert::from_js
  • utils::convert::to_js
  • utils::dispatch_event::dispatch_event
  • utils::hit_test::hit_test
  • utils::walk::walk_nodes_bottom_top
  • utils::walk::walk_nodes_top_bottom

Type Aliases

  • core::AfterRenderHandler
  • resource::RelativePath
  • resource::RendererName
  • utils::convert::JSValue

Statics

  • nodes::NODE_ID

Constants

  • utils::constants::RECTANGLE_INDICES
  • utils::constants::VIEWPORT_HEIGHT
  • utils::constants::VIEWPORT_WIDTH