Docs.rs
foyer-common-0.15.2
foyer-common 0.15.2
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
MrCroxx
Dependencies
ahash ^0.8
normal
bytes ^1
normal
cfg-if ^1
normal
fastrace ^0.7
normal
itertools ^0.14
normal
mixtrics ^0.0.4
normal
parking_lot ^0.12
normal
pin-project ^1
normal
serde ^1
normal
futures-util ^0.3
dev
mixtrics ^0.0.4
dev
rand ^0.9
dev
madsim-tokio ^0.2
normal
tokio ^1
normal
Versions
69.57%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
x86_64-apple-darwin
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
foyer_
common
0.15.2
In foyer_
common::
bits
foyer_common
::
bits
Function
assert_pow2
Copy item path
Source
pub fn assert_pow2<U:
Unsigned
>(v: U)
Expand description
Assert that the given value is a power of 2.