Docs.rs
u8bits-0.1.0
u8bits 0.1.0
Docs.rs crate page
MIT
Links
Repository
Crates.io
Source
Owners
freylax
Dependencies
paste ^0.1
normal
surjective-enum ^0.1
dev
Versions
100%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
In u8bits
?
Function
u8bits
::
get_bit
source
·
[
−
]
pub fn get_bit(b: &
u8
, pos:
u8
) ->
bool
Expand description
Get the bit at position ‘pos’ of byte ‘b’.