AddUsizeBitsMinusOne

Trait AddUsizeBitsMinusOne 

Source
trait AddUsizeBitsMinusOne {
    type Output;
}
Expand description

Helper to force associated type normalization.

Required Associated Types§

Source

type Output

See the sole implementation docs for the value.

Implementations on Foreign Types§

Source§

impl<const LEN: usize> AddUsizeBitsMinusOne for Const<LEN>
where Const<LEN>: ToUInt<Output: Add<Sub1<U<{ _ }>>>>,

Source§

type Output = <<Const<LEN> as ToUInt>::Output as Add<<<Const<{ usize::BITS as usize }> as ToUInt>::Output as Sub<B1>>::Output>>::Output

Calculates LEN + usize::BITS - 1.

Implementors§