Docs.rs
foyer-common-0.20.1
foyer-common 0.20.1
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
MrCroxx
Dependencies
bincode ^1
normal
optional
bytes ^1
normal
cfg-if ^1
normal
fastrace ^0.7
normal
optional
itertools ^0.14
normal
mixtrics ^0.2
normal
parking_lot ^0.12
normal
pin-project ^1
normal
serde ^1
normal
optional
thiserror ^2
normal
twox-hash ^2
normal
bytes ^1
dev
criterion ^0.6
dev
mixtrics ^0.2
dev
paste ^1
dev
rand ^0.9
dev
serde ^1
dev
serde_bytes ^0.11
dev
madsim-tokio ^0.2
normal
tokio ^1
normal
Versions
68.85%
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
debug_assert_pow2
foyer_
common
0.20.1
In foyer_
common::
bits
foyer_common
::
bits
Function
debug_
assert_
pow2
Copy item path
Source
pub fn debug_assert_pow2<U:
Unsigned
>(v: U)
Expand description
Debug assert that the given value is a power of 2.