Macro awint_internals::subdigits_mut [−][src]
macro_rules! subdigits_mut { ($bits:ident, $range:expr, $subbits:ident, $f:block) => { ... }; }
Expand description
Runs f
on a digitwise subslice subbits
of bits
. This is a macro
because closures are not properly supported in const
functions yet.
Safety
range
must satisfy range.start <= range.end
and range.end <= self.len()