Docs.rs
power-of-two-0.1.0
power-of-two 0.1.0
Permalink
Docs.rs crate page
MIT
/
Apache-2.0
Links
crates.io
Source
Owners
mexus
Dependencies
power-of-two-impl ^0.1
normal
proc-macro-hack ^0.5
normal
Versions
100%
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
Crate power_of_two
power_
of_
two
0.1.0
All Items
Crate Items
Macros
Crate
power_
of_
two
Copy item path
Source
Expand description
A simple power-of-two macro. Useful for creating compile-time constants.
Macros
ยง
power_
of_
two
Raises 2 to the power of provided
exp
.