Docs.rs
nes-sim-0.1.3
nes-sim 0.1.3
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
taiyuuki
Dependencies
Versions
1.38%
of the crate is documented
Go to latest version
Platform
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 video
nes_sim
0.1.3
Module video
Module Items
Structs
Functions
In crate nes_
sim
nes_sim
Module
video
Copy item path
Source
Structs
§
Video
Buffer
预分配的视频缓冲区,避免每帧堆分配
Functions
§
frame_
to_
argb32
frame_
to_
argb32_
into
将帧数据转换为 ARGB32 格式,写入预分配的缓冲区
frame_
to_
rgb
frame_
to_
rgba
将帧数据转换为 RGBA 字节格式(用于 Tauri IPC)
palette_
index_
to_
rgb