crispii_bits 1.0.1

Bit-related functionality for Rust's native u{int} types (usize excluded)
Documentation
1
2
3
4
5
6
7
8
use crate::traits::UnsignedInteger;

#[allow(private_bounds)]
pub trait AddWithCarry : UnsignedInteger {
    type Pos;

    fn add_with_carry(self, other: Self) -> (Self, Vec<Self::Pos>);
}