Trait bitmac::bit_access::BitAccess
source · [−]pub trait BitAccess: Sealed {
fn set<N>(num: N, bit_idx: usize, state: bool) -> N
where
N: Number;
fn get<N>(num: N, bit_idx: usize) -> bool
where
N: Number;
}