Docs.rs
rustduino-0.2.0
rustduino 0.2.0
Docs.rs crate page
AGPL-3.0-only
Links
Homepage
crates.io
Source
Owners
Mshivam2409
Dependencies
bit_field ^0.7.0
normal
cfg-if ^0.1
normal
const_env--value ^0.1
normal
fixed-slice-vec ^0.8.0
normal
micromath ^2.0.0
normal
volatile ^0.2.3
normal
Versions
64.18%
of the crate is documented
Go to latest version
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
☰
Other items in
rustduino
::
math
?
Function
rustduino
::
math
::
push_right
[
−
]
[src]
pub fn push_right(val: u8, change: u8) -> u8
Expand description
Push the required bit with right bias.
Arguments
val
- a u8, the number to whom the bits are to be added.
change
- a u8, the extent of rotation before XOR of the bits of
val
.
Returns
a u8
- The bit changed value of
val
.