Docs.rs
mgui-core-0.8.0
mgui-core 0.8.0
Docs.rs crate page
MIT
OR
Apache-2.0
28 November 2026
Links
Homepage
Repository
crates.io
Source
Owners
CHMengZhen
Dependencies
log ^0.4.34
normal
slotmap ^1.1.1
normal
unicode-segmentation ^1.13.3
normal
Versions
51.89%
of the crate is documented
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
atomic_write
mgui_
core
0.8.0
In mgui_
core::
persistence
mgui_core
::
persistence
Function
atomic_
write
Copy item path
Source
pub fn atomic_write(path: &
Path
, bytes: &[
u8
]) ->
Result
<
()
>
Expand description
同目录临时文件写入后原子替换;失败时清理临时文件,绝不留半写的主文件。