Docs.rs
flag-cell-0.0.2
flag-cell 0.0.2
Docs.rs crate page
Apache-2.0
Links
Repository
crates.io
Source
Owners
Milk-COCO
Dependencies
Versions
74.36%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
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 local
flag_
cell
0.0.2
Module local
Module Items
Structs
Enums
Functions
In crate flag_
cell
flag_cell
Module
local
Copy item path
Source
Structs
§
Flag
Cell
带标记+引用计数+内部可变性的智能容器 逻辑上是唯一所有权持有者,逻辑禁用后可通过FlagRef::resurrect复活
FlagRef
从FlagCell产生的轻量共享引用,可Clone,单线程使用
Enums
§
Flag
RefOption
Some: 可借用
Conflict: 借用冲突,不符合rust借用原则 Empty: 内部为空,即此FlagRef是从new函数创建的 Disabled: 内部数据当前已禁用
Functions
§
is_
dangling